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

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

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


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src font.cpp
Date: Sat, 09 Apr 2005 16:52:22 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      05/04/09 20:52:22

Modified files:
        src            : font.cpp 

Log message:
        Add an "= 0" to shut up a compiler warning.

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

Patches:
Index: wesnoth/src/font.cpp
diff -u wesnoth/src/font.cpp:1.132 wesnoth/src/font.cpp:1.133
--- wesnoth/src/font.cpp:1.132  Thu Apr  7 20:10:51 2005
+++ wesnoth/src/font.cpp        Sat Apr  9 20:52:22 2005
@@ -1,4 +1,4 @@
-/* $Id: font.cpp,v 1.132 2005/04/07 20:10:51 gruikya Exp $ */
+/* $Id: font.cpp,v 1.133 2005/04/09 20:52:22 gruikya Exp $ */
 /* vim:set encoding=utf-8: */
 /*
    Copyright (C) 2003 by David White <address@hidden>
@@ -958,7 +958,7 @@
                                current_word = *ch;
                                ++ch;
                        } else {
-                               wchar_t previous;
+                               wchar_t previous = 0;
                                for(;ch != 
utils::utf8_iterator::end(unwrapped_text) &&
                                                *ch != ' ' && *ch != '\n'; 
++ch) {
 




reply via email to

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