aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-03 01:21:02 -0500
committerDavid Robillard <d@drobilla.net>2015-03-03 01:21:02 -0500
commit7c1f22fdf4782aa04a14a914b5a51b3617362366 (patch)
tree97d28b1d3787e4263a669d84464ad1518a8fefc6
parentae59392df85dbdd574b7887ea335e887334d8931 (diff)
Fix compilation on Windows.
-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 32ca6fb..28112ad 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -143,7 +143,7 @@ puglCreateWindow(PuglView* view, const char* title)
RECT mr = { 0, 0, view->min_width, view->min_height };
AdjustWindowRectEx(&mr, winFlags, FALSE, WS_EX_TOPMOST);
view->min_width = mr.right - mr.left;
- view->min_height = wr.bottom - mr.top;
+ view->min_height = mr.bottom - mr.top;
}
}