aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-17 22:52:43 +0000
committerDavid Robillard <d@drobilla.net>2014-01-17 22:52:43 +0000
commit11b32b2461d3a670c2568b17b9f7c0a56e0e4678 (patch)
tree524ea509aeba23aec000b4d58ac4dde05110d62a
parent064a36209d6ee39054e751d597633c8d35a50199 (diff)
downloadpugl-11b32b2461d3a670c2568b17b9f7c0a56e0e4678.tar.gz
pugl-11b32b2461d3a670c2568b17b9f7c0a56e0e4678.tar.bz2
pugl-11b32b2461d3a670c2568b17b9f7c0a56e0e4678.zip
Fix compilation error on Windows. I think.
-rw-r--r--pugl/pugl_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index dbe0649..5f85d12 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -97,7 +97,7 @@ puglCreate(PuglNativeWindow parent,
impl->hwnd = CreateWindowEx(
WS_EX_TOPMOST,
classNameBuf, title,
- (addToDesktop ? WS_VISIBLE : 0) | (parent ? WS_CHILD : winFlags),
+ (visible ? WS_VISIBLE : 0) | (parent ? WS_CHILD : winFlags),
0, 0, wr.right-wr.left, wr.bottom-wr.top,
(HWND)parent, NULL, NULL, NULL);