aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-13 20:41:06 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-13 20:41:06 +0000
commitb07cc58b1be1a2a24394a9010933c4e11df53db9 (patch)
tree874eb41865ac130aedfc196b9b9e976aae58134e /code/tools
parentbcc8c598b6ad3cf5fc2e9529f2126cc84a035311 (diff)
downloadioquake3-aero-b07cc58b1be1a2a24394a9010933c4e11df53db9.tar.gz
ioquake3-aero-b07cc58b1be1a2a24394a9010933c4e11df53db9.zip
gcc 4.2 patch from nyhm of gentoo (thanks!)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1099 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools')
-rw-r--r--code/tools/asm/cmdlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/tools/asm/cmdlib.c b/code/tools/asm/cmdlib.c
index b1bd4eb..738c561 100644
--- a/code/tools/asm/cmdlib.c
+++ b/code/tools/asm/cmdlib.c
@@ -312,7 +312,7 @@ char *ExpandArg (const char *path)
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 *ExpandPath (const char *path)
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 );