UltraRogue: fix options menu.
When displaying options, get_restr() did not position the cursor correctly, resulting in values being duplicated.
This commit is contained in:
parent
5e60293223
commit
a489fa501e
1 changed files with 4 additions and 2 deletions
|
|
@ -546,8 +546,10 @@ get_restr(opt_arg *opt, WINDOW *win)
|
|||
getyx(win, oy, ox);
|
||||
put_str(opt, win);
|
||||
|
||||
if (!use_savedir)
|
||||
return get_str(opt, win);
|
||||
if (!use_savedir) {
|
||||
wmove(win, oy, ox);
|
||||
return get_str(opt, win);
|
||||
}
|
||||
|
||||
getyx(win, ny, nx);
|
||||
while(keep_up)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue