projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e973e2
)
fix for the compilation problem of many pre gcc3.4.x users.
author
Tobias Gläßer
<tobi.web@gmx.de>
Wed, 28 Jul 2004 23:33:23 +0000
(23:33 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Wed, 28 Jul 2004 23:33:23 +0000
(23:33 +0000)
SVN-Revision: 1663
lib/gui/menu.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/menu.cpp
b/lib/gui/menu.cpp
index
e060e39
..
b23ff78
100644
(file)
--- a/
lib/gui/menu.cpp
+++ b/
lib/gui/menu.cpp
@@
-509,7
+509,8
@@
Menu::draw_item(DrawingContext& context,
int text_width = int(text_font->get_text_width(pitem.text));
int input_width = int(text_font->get_text_width(pitem.input) + 10);
int list_width = 0;
- if(pitem.list.second != 0)
+ std::set<std::string>::iterator tmp = 0;
+ if(pitem.list.second != tmp)
list_width = int(text_font->get_text_width((*pitem.list.second)));
if (arrange_left)