This commit is contained in:
dborth 2009-10-13 07:28:52 +00:00
parent 03dea791a1
commit 58d3adde97

View File

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