[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src font.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src font.cpp |
Date: |
Tue, 26 Apr 2005 17:06:43 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/04/26 21:06:43
Modified files:
src : font.cpp
Log message:
For the systems where wchar_t is not unsigned...
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/font.cpp.diff?tr1=1.136&tr2=1.137&r1=text&r2=text
Patches:
Index: wesnoth/src/font.cpp
diff -u wesnoth/src/font.cpp:1.136 wesnoth/src/font.cpp:1.137
--- wesnoth/src/font.cpp:1.136 Mon Apr 18 19:25:04 2005
+++ wesnoth/src/font.cpp Tue Apr 26 21:06:43 2005
@@ -1,4 +1,4 @@
-/* $Id: font.cpp,v 1.136 2005/04/18 19:25:04 gruikya Exp $ */
+/* $Id: font.cpp,v 1.137 2005/04/26 21:06:43 silene Exp $ */
/* vim:set encoding=utf-8: */
/*
Copyright (C) 2003 by David White <address@hidden>
@@ -955,7 +955,7 @@
while(1) {
if(start_of_line) {
format_string = "";
- while(ch != end && *ch < 0x100 && is_format_char(*ch)) {
+ while(ch != end && *ch < 0x100U && is_format_char(*ch))
{
format_string.append(ch.substr().first,
ch.substr().second);
++ch;
}