wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src dialogs.cpp unit.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src dialogs.cpp unit.cpp
Date: Wed, 19 Jan 2005 15:11:35 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/01/19 20:11:34

Modified files:
        src            : dialogs.cpp unit.cpp 

Log message:
        Fix commas not being followed by space in the unit preview pane (patch 
#3657).

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.79&tr2=1.80&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/unit.cpp.diff?tr1=1.112&tr2=1.113&r1=text&r2=text

Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.79 wesnoth/src/dialogs.cpp:1.80
--- wesnoth/src/dialogs.cpp:1.79        Fri Dec 31 21:01:37 2004
+++ wesnoth/src/dialogs.cpp     Wed Jan 19 20:11:34 2005
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.79 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: dialogs.cpp,v 1.80 2005/01/19 20:11:34 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -646,7 +646,7 @@
        for(std::vector<std::string>::const_iterator a = abilities.begin(); a 
!= abilities.end(); ++a) {
                details << gettext(a->c_str());
                if(a+1 != abilities.end()) {
-                       details << ",";
+                       details << ", ";
                }
        }
 
Index: wesnoth/src/unit.cpp
diff -u wesnoth/src/unit.cpp:1.112 wesnoth/src/unit.cpp:1.113
--- wesnoth/src/unit.cpp:1.112  Fri Jan  7 22:09:09 2005
+++ wesnoth/src/unit.cpp        Wed Jan 19 20:11:34 2005
@@ -1,4 +1,4 @@
-/* $Id: unit.cpp,v 1.112 2005/01/07 22:09:09 silene Exp $ */
+/* $Id: unit.cpp,v 1.113 2005/01/19 20:11:34 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -174,7 +174,7 @@
        std::sort(description.begin(),description.end());
        for(std::vector<std::string>::const_iterator i = description.begin(); i 
!= description.end(); ++i) {
                if(i != description.begin()) {
-                       traitsDescription_ += ",";
+                       traitsDescription_ += ", ";
                }
 
                traitsDescription_ += gettext(i->c_str());




reply via email to

[Prev in Thread] Current Thread [Next in Thread]