summaryrefslogtreecommitdiff
path: root/src/client/Client.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-24 18:03:20 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-24 18:03:20 (GMT)
commita8d4bdeb2d305c69d0126504b4c4b31b92a1d536 (patch)
tree0f290b5a99d8b3e89c331e0185060a71acc2a6b7 /src/client/Client.cpp
parent822539bcdba72a0b8629401c39a1a29eaf52eff4 (diff)
downloadpowder-a8d4bdeb2d305c69d0126504b4c4b31b92a1d536.zip
powder-a8d4bdeb2d305c69d0126504b4c4b31b92a1d536.tar.gz
Fix install crash (somehow, I commented out the bit the gets the current directory, leading to strlen op on a NULL pointer), fixes #145
Diffstat (limited to 'src/client/Client.cpp')
-rw-r--r--src/client/Client.cpp2
1 files changed, 1 insertions, 1 deletions
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