# HG changeset patch # User John "Elwin" Edwards # Date 1511714085 18000 # Node ID 2b452dbf01382d2a163912e4611489006d9f9f65 # Parent d815c40c3753a5613c5e2bd4b611300027246e37 UltraRogue: fix options menu. When displaying options, get_restr() did not position the cursor correctly, resulting in values being duplicated. diff -r d815c40c3753 -r 2b452dbf0138 urogue/options.c --- a/urogue/options.c Fri Nov 24 16:22:10 2017 -0500 +++ b/urogue/options.c Sun Nov 26 11:34:45 2017 -0500 @@ -546,8 +546,10 @@ 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)