Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1792/src
Modified Files:
title.cpp
Log Message:
Gettext wasn't working for the bottom copyright text.
We need Latin letters for the small white font!
Index: title.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/title.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- title.cpp 3 Jun 2004 17:41:22 -0000 1.95
+++ title.cpp 7 Jun 2004 22:43:24 -0000 1.96
@@ -272,12 +272,12 @@
context.draw_surface(logo, Vector(screen->w/2 - logo->w/2, 30),
LAYER_FOREGROUND1+1);
+ context.draw_text(white_small_text, " SuperTux " VERSION "\n", Vector(0, screen->h - 70), LAYER_FOREGROUND1);
context.draw_text(white_small_text,
- _(" SuperTux " VERSION "\n"
- "Copyright (c) 2003 SuperTux Devel Team\n"
+ _("Copyright (c) 2003 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"are welcome to redistribute it under certain conditions; see the file COPYING\n"
- "for details.\n"), Vector(0, screen->h - 70), LAYER_FOREGROUND1);
+ "for details.\n"), Vector(0, screen->h - 70 + white_small_text->get_height()), LAYER_FOREGROUND1);
/* Don't draw menu, if quit is true */
Menu* menu = Menu::current();
|