From 3d325738ab1e6b92ec2a152c2e7098bb3d9b13e5 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Tue, 28 Nov 2006 19:25:31 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@748 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/menus.cpp b/source/src/menus.cpp index 2fa776f4..9e32caae 100644 --- a/source/src/menus.cpp +++ b/source/src/menus.cpp @@ -63,7 +63,7 @@ bool rendermenu() s_sprintfd(title)(m.hastitle ? "[ %s menu ]" : "%s", m.name); // EDIT: AH int mdisp = m.items.length(); int w = 0; - text_startcolumns(); + if(!m.hastitle) text_startcolumns(); loopi(mdisp) { int x = text_width(m.items[i].text); @@ -90,7 +90,7 @@ bool rendermenu() draw_text(m.items[j].text, x, y); y += step; }; - text_endcolumns(); + if(!m.hastitle) text_endcolumns(); return true; };