diff --git a/src/xpdev/dirwrap.c b/src/xpdev/dirwrap.c index 6ccc896424b4436fec24642d4f6a2024774841ae..dbc0854dbd1fe5c39084c85a5bb8b8f4312174b4 100644 --- a/src/xpdev/dirwrap.c +++ b/src/xpdev/dirwrap.c @@ -536,6 +536,9 @@ BOOL DLLCALL fexistcase(char *path) int i; glob_t glb; + if(path[0]==0) + return FALSE; + if(!strchr(path,'*') && !strchr(path,'?') && fnameexist(path)) return(TRUE);