summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp4
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;