CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
    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