mail[Wesnoth-commits] r20078 - /trunk/src/game_config.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on September 03, 2007 - 22:11:
Author: alink
Date: Mon Sep  3 22:11:27 2007
New Revision: 20078

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20078&view=rev
Log:
Add an end-of-line to the "Invalid team color" error message

Modified:
    trunk/src/game_config.cpp

Modified: trunk/src/game_config.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_config.cpp?rev=20078&r1=20077&r2=20078&view=diff
==============================================================================
--- trunk/src/game_config.cpp (original)
+++ trunk/src/game_config.cpp Mon Sep  3 22:11:27 2007
@@ -229,7 +229,7 @@
                                        
team_rgb_colors.insert(std::make_pair(rgb_it->first,string2rgb(rgb_it->second)));
                                } catch(bad_lexical_cast&) {
                                        //throw config::error(_("Invalid team 
color: ") + rgb_it->second);
-                                       ERR_NG << "Invalid team color: " << 
rgb_it->second;
+                                       ERR_NG << "Invalid team color: " << 
rgb_it->second << "\n";
                                }
                        }
                }
@@ -261,7 +261,7 @@
                        } catch(bad_lexical_cast&) {
                                static std::vector<Uint32> stv;
                                //throw config::error(_("Invalid team color: 
") + name);
-                               ERR_NG << "Invalid team color: " << name;
+                               ERR_NG << "Invalid team color: " << name << 
"\n";
                                return stv;
                        }
                }




Related Messages


Powered by MHonArc, Updated Mon Sep 03 22:40:13 2007