diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 20:37:00 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | 95bd290f52f4de376a4247af76ba18587f65cdfa (patch) | |
tree | 353c8bf5a9616570443ee567c34ac76646dae149 | |
parent | ca2adc0ecbdf4694dcf062fcc14ea67510919963 (diff) | |
download | pugl-95bd290f52f4de376a4247af76ba18587f65cdfa.tar.gz pugl-95bd290f52f4de376a4247af76ba18587f65cdfa.tar.bz2 pugl-95bd290f52f4de376a4247af76ba18587f65cdfa.zip |
Cleanup: Add some constness
-rw-r--r-- | pugl/pugl_win.c | 4 |
1 files 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); } |