projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7584a74
)
- fixed type warning on OS X
author
Ryan Flegel
<rflegel@gmail.com>
Mon, 7 Jun 2004 22:06:14 +0000
(22:06 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Mon, 7 Jun 2004 22:06:14 +0000
(22:06 +0000)
SVN-Revision: 1425
src/leveleditor.cpp
patch
|
blob
|
history
diff --git
a/src/leveleditor.cpp
b/src/leveleditor.cpp
index
8ada081
..
d913631
100644
(file)
--- a/
src/leveleditor.cpp
+++ b/
src/leveleditor.cpp
@@
-1782,7
+1782,7
@@
void LevelEditor::showhelp()
for(unsigned int t = 0; t < sizeof(text[i])/sizeof(char *); t++)
context.draw_text(white_text, text[i][t], Vector(5, 80+(t*white_text->get_height())), LAYER_GUI);
- sprintf(str,"Press any key to continue - Page %d/%d?", i, s
izeof(text
));
+ sprintf(str,"Press any key to continue - Page %d/%d?", i, s
tatic_cast<int>(sizeof(text)
));
context.draw_text(gold_text, str, Vector(0, 0), LAYER_GUI);
context.do_drawing();