r1099 - trunk/code/tools/asm
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jun 13 16:41:07 EDT 2007
Author: zakk
Date: 2007-06-13 16:41:06 -0400 (Wed, 13 Jun 2007)
New Revision: 1099
Modified:
trunk/code/tools/asm/cmdlib.c
Log:
gcc 4.2 patch from nyhm of gentoo (thanks!)
Modified: trunk/code/tools/asm/cmdlib.c
===================================================================
--- trunk/code/tools/asm/cmdlib.c 2007-06-07 03:10:29 UTC (rev 1098)
+++ trunk/code/tools/asm/cmdlib.c 2007-06-13 20:41:06 UTC (rev 1099)
@@ -312,7 +312,7 @@
char *ExpandPath (const char *path)
{
static char full[1024];
- if (!qdir)
+ if (!qdir[0])
Error ("ExpandPath called without qdir set");
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') {
strcpy( full, path );
@@ -325,7 +325,7 @@
char *ExpandGamePath (const char *path)
{
static char full[1024];
- if (!qdir)
+ if (!qdir[0])
Error ("ExpandGamePath called without qdir set");
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') {
strcpy( full, path );
More information about the quake3-commits
mailing list