diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 11:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 12:34:23 +0300 |
commit | a7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch) | |
tree | ba2d006e8aaac74138eb13ba458d30abf8f01182 /src/graphicsmanager.cpp | |
parent | 9569f124d176b4220f28f9a41812c33883737228 (diff) | |
download | manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2 manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz manaplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip |
some more style fixes from cpplint.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 935e9ca55..14069c0e6 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -419,7 +419,7 @@ void GraphicsManager::updatePlanformExtensions() HDC hdc = GetDC(info.window); if (hdc) { - const char *const extensions = mwglGetExtensionsString (hdc); + const char *const extensions = mwglGetExtensionsString(hdc); if (extensions) { logger->log1("wGL extensions:"); @@ -966,7 +966,7 @@ static CALLBACK void debugCallback(GLenum source, GLenum type, GLuint id, break; } char *const buf = new char[length + 1]; - memcpy (buf, text, length); + memcpy(buf, text, length); buf[length] = 0; message.append(" ").append(buf); delete [] buf; |