diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 13:48:24 +0300 |
commit | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch) | |
tree | df4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/graphicsmanager.cpp | |
parent | 9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff) | |
download | manaplus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz manaplus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2 manaplus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz manaplus-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip |
improve a bit strings declaration.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 587938798..29e65df1b 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -909,7 +909,7 @@ std::string GraphicsManager::errorToString(const GLenum error) { if (error) { - std::string errmsg = "Unknown error"; + std::string errmsg("Unknown error"); switch (error) { case GL_INVALID_ENUM: |