From 95bd290f52f4de376a4247af76ba18587f65cdfa Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Jul 2019 20:37:00 +0200 Subject: Cleanup: Add some constness --- pugl/pugl_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c index e47916c..747a1f4 100644 --- a/pugl/pugl_win.c +++ b/pugl/pugl_win.c @@ -177,7 +177,7 @@ puglWinError(PuglFakeWindow* fakeWin, const int status) } static unsigned -getWindowFlags(PuglView* view) +getWindowFlags(const PuglView* view) { return (WS_CLIPCHILDREN | WS_CLIPSIBLINGS | (view->parent @@ -187,7 +187,7 @@ getWindowFlags(PuglView* view) } static unsigned -getWindowExFlags(PuglView* view) +getWindowExFlags(const PuglView* view) { return WS_EX_NOINHERITLAYOUT | (view->parent ? 0u : WS_EX_APPWINDOW); } -- cgit v1.2.1