This commit is contained in:
dborth 2009-10-13 07:29:34 +00:00
parent da67f7551d
commit a6129c0cfe

View File

@ -465,6 +465,9 @@ bool ChangeInterface(char * filepath, bool silent)
void CreateAppPath(char * origpath) void CreateAppPath(char * origpath)
{ {
if(!origpath || origpath[0] == 0)
return;
char * path = strdup(origpath); // make a copy so we don't mess up original char * path = strdup(origpath); // make a copy so we don't mess up original
if(!path) if(!path)