Line
Link Here
|
0 |
-- code/tools/asm/cmdlib.c |
0 |
++ code/tools/asm/cmdlib.c |
Lines 312-318
Link Here
|
312 |
char *ExpandPath (const char *path) |
312 |
char *ExpandPath (const char *path) |
313 |
{ |
313 |
{ |
314 |
static char full[1024]; |
314 |
static char full[1024]; |
315 |
if (!qdir) |
315 |
if (!qdir[0]) |
316 |
Error ("ExpandPath called without qdir set"); |
316 |
Error ("ExpandPath called without qdir set"); |
317 |
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') { |
317 |
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') { |
318 |
strcpy( full, path ); |
318 |
strcpy( full, path ); |
Lines 325-331
Link Here
|
325 |
char *ExpandGamePath (const char *path) |
325 |
char *ExpandGamePath (const char *path) |
326 |
{ |
326 |
{ |
327 |
static char full[1024]; |
327 |
static char full[1024]; |
328 |
if (!qdir) |
328 |
if (!qdir[0]) |
329 |
Error ("ExpandGamePath called without qdir set"); |
329 |
Error ("ExpandGamePath called without qdir set"); |
330 |
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') { |
330 |
if (path[0] == '/' || path[0] == '\\' || path[1] == ':') { |
331 |
strcpy( full, path ); |
331 |
strcpy( full, path ); |