stratagus-cvs
[Top][All Lists]
Advanced

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

[Stratagus-CVS] stratagus doc/ChangeLog.html src/clone/player.c


From: Russell Smith
Subject: [Stratagus-CVS] stratagus doc/ChangeLog.html src/clone/player.c
Date: Fri, 19 Sep 2003 04:51:57 -0400

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Russell Smith <address@hidden>  03/09/19 04:51:56

Modified files:
        doc            : ChangeLog.html 
        src/clone      : player.c 

Log message:
        Fixed Save/Load bug when spaces in race display name

Patches:
Index: stratagus/doc/ChangeLog.html
diff -u stratagus/doc/ChangeLog.html:1.532 stratagus/doc/ChangeLog.html:1.533
--- stratagus/doc/ChangeLog.html:1.532  Thu Sep 18 21:18:50 2003
+++ stratagus/doc/ChangeLog.html        Fri Sep 19 04:51:56 2003
@@ -2,7 +2,7 @@
 <html>
 <head>
 <!--
-----   $Id: ChangeLog.html,v 1.532 2003/09/19 01:18:50 mr-russ Exp $
+----   $Id: ChangeLog.html,v 1.533 2003/09/19 08:51:56 mr-russ Exp $
 
 ----   (c) Copyright 1998-2003 by Lutz Sammer
 
@@ -36,6 +36,7 @@
 <li>Future 1.19 Release<p>
     <ul>
     <li>++
+    <li>Fixed Save/Load bug when spaces in race display name (from Russell 
Smith).
     <li>Updated show-map-location to be more flexible (from Russell Smith).
     <li>Merged in magnant changes (from Crestez Leonard).
     <li>Done a little work on tilesets (from Crestez Leonard).
Index: stratagus/src/clone/player.c
diff -u stratagus/src/clone/player.c:1.89 stratagus/src/clone/player.c:1.90
--- stratagus/src/clone/player.c:1.89   Sun Aug 17 11:57:06 2003
+++ stratagus/src/clone/player.c        Fri Sep 19 04:51:56 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: player.c,v 1.89 2003/08/17 15:57:06 n0body Exp $
+//     $Id: player.c,v 1.90 2003/09/19 08:51:56 mr-russ Exp $
 
 //@{
 
@@ -189,7 +189,7 @@
     int j;
 
     CLprintf(file,"\n;;; -----------------------------------------\n");
-    CLprintf(file,";;; MODULE: players $Id: player.c,v 1.89 2003/08/17 
15:57:06 n0body Exp $\n\n");
+    CLprintf(file,";;; MODULE: players $Id: player.c,v 1.90 2003/09/19 
08:51:56 mr-russ Exp $\n\n");
 
 #ifndef NEW_UI
     //
@@ -201,7 +201,7 @@
            CLprintf(file,"\n  'race '(");
            CLprintf(file,"\n    race %d",PlayerRaces.Race[i]);
            CLprintf(file,"\n    name %s",PlayerRaces.Name[i]);
-           CLprintf(file,"\n    display %s",PlayerRaces.Display[i]);
+           CLprintf(file,"\n    display \"%s\"",PlayerRaces.Display[i]);
            if( PlayerRaces.Visible[i] ) {
                CLprintf(file,"\n    visible");
            }
@@ -220,7 +220,7 @@
            CLprintf(file,"\n  'race '(");
            CLprintf(file,"\n    race %d",PlayerRaces.Race[i]);
            CLprintf(file,"\n    name %s",PlayerRaces.Name[i]);
-           CLprintf(file,"\n    display %s",PlayerRaces.Display[i]);
+           CLprintf(file,"\n    display \"%s\"",PlayerRaces.Display[i]);
            if( PlayerRaces.Visible[i] ) {
                CLprintf(file,"\n    visible");
            }




reply via email to

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