From a8d4bdeb2d305c69d0126504b4c4b31b92a1d536 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 24 Aug 2012 19:03:20 +0100 Subject: Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145 diff --git a/src/client/Client.cpp b/src/client/Client.cpp index dbd7888..4256f16 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -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 -- cgit v0.9.2-21-gd62e