diff options
author | Gene Cumm <gene.cumm@gmail.com> | 2010-07-26 15:09:43 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-26 13:36:21 -0700 |
commit | 4f0db90a7e875ed3f8ac2cdb583e24ab14e8bcb4 (patch) | |
tree | c722b375753b55b339b3f453a6a13f57df5de2c0 /com32 | |
parent | 6f2d1b84131b0a9039562dbd96dbd27e0079f287 (diff) | |
download | syslinux-4f0db90a7e875ed3f8ac2cdb583e24ab14e8bcb4.tar.gz |
libmenu: Fix cursor on exit from showmenus()
This fixes the issue in hdt.c32 that Kent Robotti noticed where
exiting directly from Menu Mode caused the cursor to not be displayed.
This same issue also affects com32/cmenu/simple.c32 and probably
others using showmenus().
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/cmenu/libmenu/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/cmenu/libmenu/menu.c b/com32/cmenu/libmenu/menu.c index 13754768..19a7e598 100644 --- a/com32/cmenu/libmenu/menu.c +++ b/com32/cmenu/libmenu/menu.c @@ -655,9 +655,9 @@ pt_menuitem showmenus(uchar startmenu) ms->menus[(unsigned int)startmenu], 0, NORMALMENU); // Hide the garbage we left on the screen - cursoron(); cls(); gotoxy(ms->minrow, ms->mincol); + cursoron(); // Return user choice return rv; |