summaryrefslogtreecommitdiff
path: root/pugl/pugl_win.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-17 22:48:06 +0000
committerDavid Robillard <d@drobilla.net>2014-01-17 22:48:06 +0000
commit064a36209d6ee39054e751d597633c8d35a50199 (patch)
tree0754511f2648b84af5a356e83d171b0cf32e69ea /pugl/pugl_win.cpp
parent12898ecf40723adb674bad95c10d1e8092794297 (diff)
Fix whitespace and junk comment.
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r--pugl/pugl_win.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index c95a2d2..dbe0649 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -106,7 +106,7 @@ puglCreate(PuglNativeWindow parent,
free(view);
return NULL;
}
-
+
SetWindowLongPtr(impl->hwnd, GWL_USERDATA, (LONG)view);
impl->hdc = GetDC(impl->hwnd);
@@ -219,7 +219,7 @@ processMouseEvent(PuglView* view, int button, bool press, LPARAM lParam)
} else {
ReleaseCapture();
}
-
+
if (view->mouseFunc) {
view->mouseFunc(view, button, press,
GET_X_LPARAM(lParam),
@@ -249,7 +249,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
case WM_CREATE:
case WM_SHOWWINDOW:
case WM_SIZE:
- RECT rect;
+ RECT rect;
GetClientRect(view->impl->hwnd, &rect);
puglReshape(view, rect.right, rect.bottom);
view->width = rect.right;