pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.12,1.13 stat.hxx,


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldmap stat.cxx,1.12,1.13 stat.hxx,1.8,1.9
Date: 12 Oct 2002 13:30:53 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv29572/worldmap

Modified Files:
        stat.cxx stat.hxx 
Log Message:
little cleanup

Index: stat.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/stat.cxx,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- stat.cxx    12 Oct 2002 00:49:10 -0000      1.12
+++ stat.cxx    12 Oct 2002 13:30:51 -0000      1.13
@@ -68,18 +68,18 @@
 
   if (System::exist (filename))
     {
-      parse_file (filename);
+      parse_file ();
       is_empty = false;
     }
 }
 
 void 
-PingusWorldMapStat::parse_file (std::string filename_)
+PingusWorldMapStat::parse_file ()
 {
   doc = xmlParseFile(filename.c_str());
 
   if (! doc)
-    PingusError::raise("Couldn't open \"" + filename_ + "\" or syntax error.");
+    PingusError::raise("Couldn't open \"" + filename + "\" or syntax error.");
 
   xmlNodePtr cur = doc->ROOT;
 

Index: stat.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldmap/stat.hxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- stat.hxx    27 Sep 2002 11:26:49 -0000      1.8
+++ stat.hxx    12 Oct 2002 13:30:51 -0000      1.9
@@ -55,7 +55,7 @@
   xmlDocPtr doc;
 
   /** Load the given file */
-  void parse_file (std::string filename);
+  void parse_file ();
   
   /** Parse a given node */
   void parse_node (xmlNodePtr);





reply via email to

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