aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/cmenu/libmenu/menu.c')
-rw-r--r--com32/cmenu/libmenu/menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/cmenu/libmenu/menu.c b/com32/cmenu/libmenu/menu.c
index 7918b47b..6a1d7a37 100644
--- a/com32/cmenu/libmenu/menu.c
+++ b/com32/cmenu/libmenu/menu.c
@@ -566,14 +566,14 @@ pt_menuitem showmenus(uchar startmenu)
fix_submenus(); // Fix submenu numbers incase nick names were used
+ /* Turn autowrap off, to avoid scrolling the menu */
+ printf(CSI "?7l");
+
// Setup screen for menusystem
cls();
clearwindow(ms->minrow, ms->mincol, ms->maxrow, ms->maxcol,
ms->fillchar, ms->fillattr);
- /* Turn autowrap off, to avoid scrolling the menu */
- printf(CSI "?7l");
-
tpos = (ms->numcols - strlen(ms->title) - 1) >> 1; // center it on line
gotoxy(ms->minrow, ms->mincol);
cprint(ms->tfillchar, ms->titleattr, ms->numcols);