CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <[EMAIL PROTECTED]> 05/03/01 21:12:42
Modified files:
src : font.cpp
Log message:
Removed a compiler warning.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/font.cpp.diff?tr1=1.106&tr2=1.107&r1=text&r2=text
Patches:
Index: wesnoth/src/font.cpp
diff -u wesnoth/src/font.cpp:1.106 wesnoth/src/font.cpp:1.107
--- wesnoth/src/font.cpp:1.106 Sun Feb 27 18:15:20 2005
+++ wesnoth/src/font.cpp Tue Mar 1 21:12:42 2005
@@ -1,4 +1,4 @@
-/* $Id: font.cpp,v 1.106 2005/02/27 18:15:20 ydirson Exp $ */
+/* $Id: font.cpp,v 1.107 2005/03/01 21:12:42 gruikya Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -78,7 +78,7 @@
wide_string current_chunk;
std::vector<text_chunk> res;
bool first = true;
- int current_font;
+ int current_font = 0;
for(wide_string::const_iterator itor = text.begin(); itor !=
text.end(); ++itor) {