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.hpp filechooser.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src dialogs.hpp filechooser.cpp
Date: Sun, 19 Dec 2004 16:29:08 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/12/19 21:18:14

Modified files:
        src            : dialogs.hpp filechooser.cpp 

Log message:
        Remove unused untranslatable default argument and fix calling 
convention of the filechooser.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.hpp.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/filechooser.cpp.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: wesnoth/src/dialogs.hpp
diff -u wesnoth/src/dialogs.hpp:1.28 wesnoth/src/dialogs.hpp:1.29
--- wesnoth/src/dialogs.hpp:1.28        Thu Dec  2 22:30:38 2004
+++ wesnoth/src/dialogs.hpp     Sun Dec 19 21:18:14 2004
@@ -1,4 +1,4 @@
-/* $Id: dialogs.hpp,v 1.28 2004/12/02 22:30:38 silene Exp $ */
+/* $Id: dialogs.hpp,v 1.29 2004/12/19 21:18:14 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -58,8 +58,7 @@
 /// index of the button pressed, or -1 if the dialog was canceled
 /// through keypress.
 int show_file_chooser_dialog(display &displ, std::string &filename,
-                                                        const std::string 
title="Choose a File",
-                                                        int xloc=-1, int 
yloc=-1);
+                             std::string const &title, int xloc = -1, int yloc 
= -1);
 
 class unit_preview_pane : public gui::preview_pane
 {
Index: wesnoth/src/filechooser.cpp
diff -u wesnoth/src/filechooser.cpp:1.1 wesnoth/src/filechooser.cpp:1.2
--- wesnoth/src/filechooser.cpp:1.1     Thu Sep  2 15:41:09 2004
+++ wesnoth/src/filechooser.cpp Sun Dec 19 21:18:14 2004
@@ -8,8 +8,7 @@
 {
 
 int show_file_chooser_dialog(display &disp, std::string &filename,
-                                                        const std::string 
title,
-                                                        int xloc, int yloc) {
+                             std::string const &title, int xloc, int yloc) {
        const events::event_context dialog_events_context;
        const gui::dialog_manager manager;
        const events::resize_lock prevent_resizing;




reply via email to

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