From a8d4bdeb2d305c69d0126504b4c4b31b92a1d536 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 24 Aug 2012 19:03:20 +0100 Subject: [PATCH] Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145 --- src/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index dbd7888c4..4256f160a 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