diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-27 00:13:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-27 00:13:42 +0300 |
commit | f09ab3acb547b786289cd78b51577df6ef669fc6 (patch) | |
tree | e610bd6251e6105f117db9ed80481ce223e050ce /src/client.cpp | |
parent | 75a80fdfdce4be53ce7d7b1d02400d3f79a144c0 (diff) | |
download | manaverse-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.gz manaverse-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.bz2 manaverse-f09ab3acb547b786289cd78b51577df6ef669fc6.tar.xz manaverse-f09ab3acb547b786289cd78b51577df6ef669fc6.zip |
Fix code style.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
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 == "") |