pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.90,1.91 xml_helper


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src pingus_main.cxx,1.90,1.91 xml_helper.cxx,1.31,1.32
Date: 24 Apr 2003 17:59:17 -0000

Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv21762/src

Modified Files:
        pingus_main.cxx xml_helper.cxx 
Log Message:
more win32 gettext fixes and other stuff

Index: pingus_main.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/pingus_main.cxx,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- pingus_main.cxx     24 Apr 2003 15:18:19 -0000      1.90
+++ pingus_main.cxx     24 Apr 2003 17:59:15 -0000      1.91
@@ -680,10 +680,10 @@
         std::cout << "setlocale returned '" << ret << "'" << std::endl;
     }
 
-#ifdef WIN32
+#ifndef WIN32
   bindtextdomain(PACKAGE, path_manager.complete("/../../locale/").c_str());
 #else
-  bindtextdomain(PACKAGE, path_manager.complete("locale/").c_str());
+  bindtextdomain(PACKAGE, path_manager.complete("/locale/").c_str());
 #endif
 
   // We use another LOCALEDIR to make static binaries possible

Index: xml_helper.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/xml_helper.cxx,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- xml_helper.cxx      19 Apr 2003 10:23:17 -0000      1.31
+++ xml_helper.cxx      24 Apr 2003 17:59:15 -0000      1.32
@@ -32,7 +32,7 @@
 
 std::ostream& operator<<(std::ostream& s, xmlNode& node)
 {
-#ifdef LIBXML_2
+#if LIBXML_VERSION >= 20506
   xmlChar* path = xmlGetNodePath(&node);
   s << path;
   xmlFree(path);





reply via email to

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