Displaying 1 result from an estimated 1 matches for "pt_menuitem".
Did you mean:
t_menuitem
2010 Jul 25
0
[PATCH] HDT: Fix cursor on exit from Menu Mode
...ot be displayed.
This same issue also affects com32/cmenu/simple.c32 and probably
others using showmenus().
---
diff --git a/com32/cmenu/libmenu/menu.c b/com32/cmenu/libmenu/menu.c
index 1375476..19a7e59 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;