aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-26 20:37:00 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 19:06:39 +0200
commit95bd290f52f4de376a4247af76ba18587f65cdfa (patch)
tree353c8bf5a9616570443ee567c34ac76646dae149 /pugl/pugl_win.c
parentca2adc0ecbdf4694dcf062fcc14ea67510919963 (diff)
downloadpugl-95bd290f52f4de376a4247af76ba18587f65cdfa.tar.gz
pugl-95bd290f52f4de376a4247af76ba18587f65cdfa.tar.bz2
pugl-95bd290f52f4de376a4247af76ba18587f65cdfa.zip
Cleanup: Add some constness
Diffstat (limited to 'pugl/pugl_win.c')
-rw-r--r--pugl/pugl_win.c4
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);
}