aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/cmenu/libmenu/menu.c6
-rw-r--r--com32/cmenu/libmenu/menu.h4
2 files changed, 5 insertions, 5 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);
diff --git a/com32/cmenu/libmenu/menu.h b/com32/cmenu/libmenu/menu.h
index 7d290ec9..6c14dab0 100644
--- a/com32/cmenu/libmenu/menu.h
+++ b/com32/cmenu/libmenu/menu.h
@@ -60,8 +60,8 @@
#define STATUSATTR 0x74
#define STATUSHLITE 0x7B // Status highlight
-#define FILLCHAR 177
-#define FILLATTR 0x01
+#define FILLCHAR ' '
+#define FILLATTR NORMALATTR
#define SHADOWATTR 0x00
#define SPACECHAR ' '