Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix warning: the address of ‘qdir’ will always evaluate as ‘true’.

  • Loading branch information...
commit af1940a349e416f1a5b190825eb9543d03222e14 1 parent 698635d
@bnoordhuis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  l_cmd.c
View
2  l_cmd.c
@@ -321,7 +321,7 @@ char *ExpandArg (char *path)
char *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;
Please sign in to comment.
Something went wrong with that request. Please try again.