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

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

[Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp
Date: Tue, 07 Dec 2004 13:19:54 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/12/07 18:08:53

Modified files:
        src/widgets    : file_chooser.cpp 

Log message:
        Remove implicit column separators in the filechooser box so that the 
editor is happy.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/file_chooser.cpp.diff?tr1=1.20&tr2=1.21&r1=text&r2=text

Patches:
Index: wesnoth/src/widgets/file_chooser.cpp
diff -u wesnoth/src/widgets/file_chooser.cpp:1.20 
wesnoth/src/widgets/file_chooser.cpp:1.21
--- wesnoth/src/widgets/file_chooser.cpp:1.20   Mon Nov 22 23:54:27 2004
+++ wesnoth/src/widgets/file_chooser.cpp        Tue Dec  7 18:08:52 2004
@@ -59,11 +59,11 @@
        for (it = to_show.begin(); it != to_show.end(); it++) {
                // Add an image to show that these are directories.
                std::stringstream ss;
-               ss << font::IMAGE << dir_picture << ',' << *it;
+               ss << font::IMAGE << dir_picture << COLUMN_SEPARATOR << *it;
                *it = ss.str();
        }
        for (it = files_in_current_dir_.begin(); it != 
files_in_current_dir_.end(); it++) {
-               const std::string display_string = std::string(" ,") + *it;
+               const std::string display_string = COLUMN_SEPARATOR + *it;
                to_show.push_back(display_string);
        }
        const int menu_font_size = font::SIZE_NORMAL; // Known from menu.cpp.




reply via email to

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