This commit is contained in:
dborth 2009-10-13 07:28:58 +00:00
parent c30baad4dd
commit 475a3f5a6e

View File

@ -466,6 +466,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)