Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145

This commit is contained in:
Simon Robertshaw 2012-08-24 19:03:20 +01:00
parent 822539bcdb
commit a8d4bdeb2d

View File

@ -169,7 +169,7 @@ bool Client::DoInstallation()
goto finalise;
}*/
//AppDataPath = _getcwd(NULL, 0);
AppDataPath = _getcwd(NULL, 0);
//Move Game executable into application data folder
//TODO: Implement