aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/tui.c
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-29 11:26:17 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:38 -0700
commite9a9e808f2705766ef7f80b0970401dbeb690433 (patch)
tree546faa828578ea3d074ac18056cc629b71ec12ce /com32/cmenu/libmenu/tui.c
parent933402bf44d66a325d810b6c8a43a075907f18b1 (diff)
downloadsyslinux-e9a9e808f2705766ef7f80b0970401dbeb690433.tar.gz
syslinux-e9a9e808f2705766ef7f80b0970401dbeb690433.tar.xz
syslinux-e9a9e808f2705766ef7f80b0970401dbeb690433.zip
cmenu: use > instead of » for submenus
» doesn't exist in the alternate character set. Use plain > instead. Misc.: fix SO/SI invocation, putchar takes a char, fputs a string. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu/libmenu/tui.c')
-rw-r--r--com32/cmenu/libmenu/tui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/cmenu/libmenu/tui.c b/com32/cmenu/libmenu/tui.c
index e707df47..d4e08286 100644
--- a/com32/cmenu/libmenu/tui.c
+++ b/com32/cmenu/libmenu/tui.c
@@ -311,7 +311,7 @@ void drawbox(char top, char left, char bot, char right,
char page, char attr, boxtype bt)
{
unsigned char x;
- fputs(SO, stdout);
+ putchar(SO);
// Top border
gotoxy(top, left, page);
cprint(TOP_LEFT_CORNER_BORDER, attr, 1, page);
@@ -329,7 +329,7 @@ void drawbox(char top, char left, char bot, char right,
gotoxy(x, right, page);
cprint(RIGHT_BORDER, attr, 1, page);
}
- fputs(SI, stdout);
+ putchar(SI);
}
void drawhorizline(char top, char left, char right, char page, char attr,