aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-28 22:38:08 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:38 -0700
commit933402bf44d66a325d810b6c8a43a075907f18b1 (patch)
tree896649e9d12e2b2412c30acea90d08faae0f62b8 /com32/cmenu
parentd814ac9c636376ba06e9796d190bd427a4cbee72 (diff)
downloadsyslinux-933402bf44d66a325d810b6c8a43a075907f18b1.tar.gz
syslinux-933402bf44d66a325d810b6c8a43a075907f18b1.tar.xz
syslinux-933402bf44d66a325d810b6c8a43a075907f18b1.zip
cmenu: remove extra getboxchars call
getboxchars is not used anymore in drawbox. Let's get rid of it. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu')
-rw-r--r--com32/cmenu/libmenu/tui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/cmenu/libmenu/tui.c b/com32/cmenu/libmenu/tui.c
index c9b70f3f..e707df47 100644
--- a/com32/cmenu/libmenu/tui.c
+++ b/com32/cmenu/libmenu/tui.c
@@ -310,10 +310,8 @@ unsigned char *getboxchars(boxtype bt)
void drawbox(char top, char left, char bot, char right,
char page, char attr, boxtype bt)
{
- unsigned char *box_chars; // pointer to array of box chars
unsigned char x;
fputs(SO, stdout);
- box_chars = getboxchars(bt);
// Top border
gotoxy(top, left, page);
cprint(TOP_LEFT_CORNER_BORDER, attr, 1, page);