diff --git a/dgl/src/pugl/pugl_win.cpp b/dgl/src/pugl/pugl_win.cpp index 7f386754..1ac7c9eb 100644 --- a/dgl/src/pugl/pugl_win.cpp +++ b/dgl/src/pugl/pugl_win.cpp @@ -136,7 +136,7 @@ puglCreateWindow(PuglView* view, const char* title) RECT mr = { 0, 0, view->min_width, view->min_height }; AdjustWindowRectEx(&mr, view->parent ? WS_CHILD : 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; } }