pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.12,


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editorobjs groundpiece_obj.cxx,1.12,1.13
Date: 2 Apr 2003 19:11:30 -0000

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

Modified Files:
        groundpiece_obj.cxx 
Log Message:
some gettext changes

Index: groundpiece_obj.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/editorobjs/groundpiece_obj.cxx,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- groundpiece_obj.cxx 30 Mar 2003 13:12:35 -0000      1.12
+++ groundpiece_obj.cxx 2 Apr 2003 19:11:27 -0000       1.13
@@ -62,13 +62,9 @@
 std::string 
 GroundpieceObj::status_line ()
 {
-  char str[1024];  
-  std::string type_name = Groundtype::type_to_string(data->gptype);
-  
-  snprintf(str, 1024, "Groundpiece: %s Type: %s",
-          data->desc.res_name.c_str(), type_name.c_str());
-
-  return str;
+  return "Groundpiece: " + data->desc.res_name
+    + " Type: " + Groundtype::type_to_string(data->gptype)
+    + " Rot: " + rs_to_string(data->desc.modifier);
 }
 
 void





reply via email to

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