aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-07-12 23:23:15 -0400
committerDavid Robillard <d@drobilla.net>2015-07-12 23:23:15 -0400
commit23ecce9dacf6938391a127f95a8b6eea27ee8fb5 (patch)
tree0709a56e392309e4079e961575cdcf26cbca08fa
parentae59392df85dbdd574b7887ea335e887334d8931 (diff)
Fix whitespace.
-rw-r--r--pugl/pugl_win.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index 32ca6fb..04bc4b6 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -153,7 +153,7 @@ puglCreateWindow(PuglView* view, const char* title)
impl->hwnd = CreateWindowEx(
WS_EX_TOPMOST,
- classNameBuf, title,
+ classNameBuf, title,
(view->parent ? WS_CHILD : winFlags),
CW_USEDEFAULT, CW_USEDEFAULT, wr.right-wr.left, wr.bottom-wr.top,
(HWND)view->parent, NULL, NULL, NULL);
@@ -168,7 +168,7 @@ puglCreateWindow(PuglView* view, const char* title)
#ifdef _WIN64
SetWindowLongPtr(impl->hwnd, GWLP_USERDATA, (LONG_PTR)view);
#else
- SetWindowLongPtr(impl->hwnd, GWL_USERDATA, (LONG)view);
+ SetWindowLongPtr(impl->hwnd, GWL_USERDATA, (LONG)view);
#endif
impl->hdc = GetDC(impl->hwnd);
@@ -432,7 +432,6 @@ puglProcessEvents(PuglView* view)
handleMessage(view, msg.message, msg.wParam, msg.lParam);
}
-
if (view->redisplay) {
InvalidateRect(view->impl->hwnd, NULL, FALSE);
}