From 32d0cd94172e8dc9161f95b2c2b943ed71878088 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 8 Sep 2007 20:40:47 +0930 Subject: [PATCH] [PATCH] common: fixed a minor bug in ExpandPath of tyrutils Signed-off-by: O.Sezer Signed-off-by: Tyrann --- common/cmdlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmdlib.c b/common/cmdlib.c index bc4d3a08..fc38bb3b 100644 --- a/common/cmdlib.c +++ b/common/cmdlib.c @@ -120,7 +120,7 @@ ExpandPath(char *path) { static char full[1024]; - if (!qdir) + if (!qdir[0]) Error("ExpandPath called without qdir set"); if (path[0] == '/' || path[0] == '\\' || path[1] == ':') return path;