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

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

[Wesnoth-cvs-commits] wesnoth/src/serialization string_utils.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src/serialization string_utils.cpp
Date: Sun, 24 Jul 2005 16:46:43 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/07/24 20:46:43

Modified files:
        src/serialization: string_utils.cpp 

Log message:
        Added check for OpenBSD which doesn't seem to have a towupper/towlower 
implementation

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/serialization/string_utils.cpp.diff?tr1=1.23&tr2=1.24&r1=text&r2=text

Patches:
Index: wesnoth/src/serialization/string_utils.cpp
diff -u wesnoth/src/serialization/string_utils.cpp:1.23 
wesnoth/src/serialization/string_utils.cpp:1.24
--- wesnoth/src/serialization/string_utils.cpp:1.23     Sat Jul  2 21:37:20 2005
+++ wesnoth/src/serialization/string_utils.cpp  Sun Jul 24 20:46:43 2005
@@ -1,4 +1,4 @@
-/* $Id: string_utils.cpp,v 1.23 2005/07/02 21:37:20 ott Exp $ */
+/* $Id: string_utils.cpp,v 1.24 2005/07/24 20:46:43 j_daniel Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Copyright (C) 2005 by Guillaume Melquiond <address@hidden>
@@ -603,7 +603,7 @@
                std::string res;
 
                for(;itor != utf8_iterator::end(s); ++itor) {
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OpenBSD__)
                        // FIXME: Should we support towupper on recent OSX 
platforms?
                        wchar_t uchar = *itor;
                        if(uchar >= 0 && uchar < 0x100)




reply via email to

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