r872 - in branches/stable-1.0: . platform

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Mar 26 02:34:55 EDT 2007


Author: icculus
Date: 2007-03-26 02:34:55 -0400 (Mon, 26 Mar 2007)
New Revision: 872

Modified:
   branches/stable-1.0/CHANGELOG
   branches/stable-1.0/platform/win32.c
Log:
Whoops, this should probably be chopping the string instead of turning 
the first newline it sees into a space character...


Modified: branches/stable-1.0/CHANGELOG
===================================================================
--- branches/stable-1.0/CHANGELOG	2007-03-25 06:26:53 UTC (rev 871)
+++ branches/stable-1.0/CHANGELOG	2007-03-26 06:34:55 UTC (rev 872)
@@ -4,6 +4,8 @@
 
 -- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
 
+03262007 - Fixed minor cosmetic issue in Windows error messages where it would
+           leave whitespace and newlines at the end of the string.
 09232006 - Fixed typo in doxygen comment.
 03232006 - Added -fvisibility for gcc4 (http://gcc.gnu.org/wiki/Visibility)
 01012006 - Added physfs.rc (thanks, Dennis!). Changed my email address.

Modified: branches/stable-1.0/platform/win32.c
===================================================================
--- branches/stable-1.0/platform/win32.c	2007-03-25 06:26:53 UTC (rev 871)
+++ branches/stable-1.0/platform/win32.c	2007-03-26 06:34:55 UTC (rev 872)
@@ -97,7 +97,7 @@
     {
         if ((*ptr == '\n') || (*ptr == '\r'))
         {
-            *ptr = ' ';
+            *ptr = '\0';
             break;
         } /* if */
     } /* for */




More information about the physfs-commits mailing list