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

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

[Wesnoth-cvs-commits] wesnoth/src show_dialog.cpp


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src show_dialog.cpp
Date: Fri, 05 Nov 2004 20:24:18 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/11/05 23:52:10

Modified files:
        src            : show_dialog.cpp 

Log message:
        wrap shorter lines in tinygui mode

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/show_dialog.cpp.diff?tr1=1.100&tr2=1.101&r1=text&r2=text

Patches:
Index: wesnoth/src/show_dialog.cpp
diff -u wesnoth/src/show_dialog.cpp:1.100 wesnoth/src/show_dialog.cpp:1.101
--- wesnoth/src/show_dialog.cpp:1.100   Sun Oct 31 20:50:13 2004
+++ wesnoth/src/show_dialog.cpp Fri Nov  5 23:52:10 2004
@@ -1,4 +1,4 @@
-/* $Id: show_dialog.cpp,v 1.100 2004/10/31 20:50:13 silene Exp $ */
+/* $Id: show_dialog.cpp,v 1.101 2004/11/05 23:52:10 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -439,7 +439,11 @@
 
        menu menu_(disp,menu_items,type == MESSAGE);
 
+#ifdef USE_TINY_GUI
+       const int max_line_length = 30;
+#else
        const int max_line_length = 54;
+#endif
 
        std::string message = msg;
        text_to_lines(message,max_line_length);




reply via email to

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