diff options
author | David Robillard <d@drobilla.net> | 2015-03-03 01:21:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-03 01:21:02 -0500 |
commit | 7c1f22fdf4782aa04a14a914b5a51b3617362366 (patch) | |
tree | 97d28b1d3787e4263a669d84464ad1518a8fefc6 /pugl | |
parent | ae59392df85dbdd574b7887ea335e887334d8931 (diff) | |
download | pugl-7c1f22fdf4782aa04a14a914b5a51b3617362366.tar.gz pugl-7c1f22fdf4782aa04a14a914b5a51b3617362366.tar.bz2 pugl-7c1f22fdf4782aa04a14a914b5a51b3617362366.zip |
Fix compilation on Windows.
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/pugl_win.cpp | 2 |
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; } } |