comparison urogue/options.c @ 290:2b452dbf0138

UltraRogue: fix options menu. When displaying options, get_restr() did not position the cursor correctly, resulting in values being duplicated.
author John "Elwin" Edwards
date Sun, 26 Nov 2017 11:34:45 -0500
parents ac42afd962e4
children 9dcf3344d3fd
comparison
equal deleted inserted replaced
289:d815c40c3753 290:2b452dbf0138
544 544
545 keep_up = TRUE; 545 keep_up = TRUE;
546 getyx(win, oy, ox); 546 getyx(win, oy, ox);
547 put_str(opt, win); 547 put_str(opt, win);
548 548
549 if (!use_savedir) 549 if (!use_savedir) {
550 return get_str(opt, win); 550 wmove(win, oy, ox);
551 return get_str(opt, win);
552 }
551 553
552 getyx(win, ny, nx); 554 getyx(win, ny, nx);
553 while(keep_up) 555 while(keep_up)
554 { 556 {
555 wmove(win, oy, ox); 557 wmove(win, oy, ox);