1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: Fix build failure with GCC 4.7
- src/pingus/pingus_main.cpp, src/pingus/screens/pingus_menu.cpp:
Add whitespace between string literals and macros.
Bug-Debian: http://bugs.debian.org/673389
Author: Matej Vela <[email protected]>
Last-Update: 2012-05-19
--- a/src/pingus/pingus_main.cpp
b/src/pingus/pingus_main.cpp
@@ -465,7 465,7 @@
void
PingusMain::print_greeting_message()
{
- std::string greeting = "Welcome to Pingus "VERSION;
std::string greeting = "Welcome to Pingus " VERSION;
greeting = "!";
std::cout << greeting << std::endl;
for (unsigned int i = 0; i < greeting.length(); i)
--- a/src/pingus/screens/pingus_menu.cpp
b/src/pingus/screens/pingus_menu.cpp
@@ -153,7 153,7 @@
gc.get_height()/2 - 280));
gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 25, gc.get_height()-140),
- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <[email protected]>\n"
"Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <[email protected]>\n"
"See the file AUTHORS for a complete list of contributors.\n"
"Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n"
"welcome to redistribute it under certain conditions; see the file COPYING for details.\n");
|