From 7c1f22fdf4782aa04a14a914b5a51b3617362366 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 Mar 2015 01:21:02 -0500 Subject: Fix compilation on Windows. --- pugl/pugl_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v1.2.3