summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-27 00:13:42 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-27 00:13:42 +0300
commitf09ab3acb547b786289cd78b51577df6ef669fc6 (patch)
treee610bd6251e6105f117db9ed80481ce223e050ce /src/client.cpp
parent75a80fdfdce4be53ce7d7b1d02400d3f79a144c0 (diff)
downloadplus-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.gz
plus-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.bz2
plus-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.xz
plus-f09ab3acb547b786289cd78b51577df6ef669fc6.zip
Fix code style.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5dd417670..3d433dc04 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -356,9 +356,9 @@ void Client::gameInit()
#endif
if (config.getBoolValue("allowscreensaver"))
- putenv("SDL_VIDEO_ALLOW_SCREENSAVER=1");
+ putenv(const_cast<char*>("SDL_VIDEO_ALLOW_SCREENSAVER=1"));
else
- putenv("SDL_VIDEO_ALLOW_SCREENSAVER=0");
+ putenv(const_cast<char*>("SDL_VIDEO_ALLOW_SCREENSAVER=0"));
chatLogger = new ChatLogger;
if (mOptions.chatLogDir == "")