Whoops, this should probably be chopping the string instead of turning
the first newline it sees into a space character...
This commit is contained in:
parent
994e62e5f2
commit
bc14217e36
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
-- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
|
-- 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.
|
09232006 - Fixed typo in doxygen comment.
|
||||||
03232006 - Added -fvisibility for gcc4 (http://gcc.gnu.org/wiki/Visibility)
|
03232006 - Added -fvisibility for gcc4 (http://gcc.gnu.org/wiki/Visibility)
|
||||||
01012006 - Added physfs.rc (thanks, Dennis!). Changed my email address.
|
01012006 - Added physfs.rc (thanks, Dennis!). Changed my email address.
|
||||||
|
|
|
@ -97,7 +97,7 @@ static const char *win32strerror(void)
|
||||||
{
|
{
|
||||||
if ((*ptr == '\n') || (*ptr == '\r'))
|
if ((*ptr == '\n') || (*ptr == '\r'))
|
||||||
{
|
{
|
||||||
*ptr = ' ';
|
*ptr = '\0';
|
||||||
break;
|
break;
|
||||||
} /* if */
|
} /* if */
|
||||||
} /* for */
|
} /* for */
|
||||||
|
|
Loading…
Reference in New Issue