Author: torangan
Date: 2005-10-25 17:06:11 +0200 (Tue, 25 Oct 2005)
New Revision: 2467
Modified:
trunk/src/string_format.cxx
Log:
applied patch from Jason Green
Modified: trunk/src/string_format.cxx
===================================================================
--- trunk/src/string_format.cxx 2005-10-25 13:47:01 UTC (rev 2466)
+++ trunk/src/string_format.cxx 2005-10-25 15:06:11 UTC (rev 2467)
@@ -25,7 +25,7 @@
std::string
StringFormat::break_line (std::string text, int length, const CL_Font& font)
{
- unsigned int pos = 0;
+ std::string::size_type pos = 0;
while ((pos = text.find('\t', pos)) != std::string::npos)
text.replace(pos, 1, 1, ' ');
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs