CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 05/03/08 02:16:33

Modified files:
        src            : font.cpp 

Log message:
        fixed compile error on vc++

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

Patches:
Index: wesnoth/src/font.cpp
diff -u wesnoth/src/font.cpp:1.116 wesnoth/src/font.cpp:1.117
--- wesnoth/src/font.cpp:1.116  Sat Mar  5 10:54:25 2005
+++ wesnoth/src/font.cpp        Tue Mar  8 02:16:32 2005
@@ -1,4 +1,4 @@
-/* $Id: font.cpp,v 1.116 2005/03/05 10:54:25 silene Exp $ */
+/* $Id: font.cpp,v 1.117 2005/03/08 02:16:32 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -98,7 +98,7 @@
                                //null-terminate ucs2_text so we can pass it to 
SDL_ttf later
                                current_chunk.ucs2_text.push_back(0);
                                chunks.push_back(current_chunk);
-                               current_chunk.text.clear();
+                               current_chunk.text = "";
                                current_chunk.ucs2_text.clear();
                                current_chunk.subset = font_map[*ch];
                        }


Reply via email to