diff options
author | David Robillard <d@drobilla.net> | 2023-05-03 10:40:56 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-03 10:41:16 -0400 |
commit | 128f21802ed1502c2fad48935359c56b97445318 (patch) | |
tree | 81277385e8e75b11177281e6753581bc019478ca /src | |
parent | 73e46c1b716cbf57e335a907712eb159ce4231fb (diff) | |
download | pugl-128f21802ed1502c2fad48935359c56b97445318.tar.gz pugl-128f21802ed1502c2fad48935359c56b97445318.tar.bz2 pugl-128f21802ed1502c2fad48935359c56b97445318.zip |
Add missing field initializer
Diffstat (limited to 'src')
-rw-r--r-- | src/win.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -698,7 +698,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) POINT pt = {0, 0}; MINMAXINFO* mmi = NULL; void* dummy_ptr = NULL; - WINDOWPLACEMENT placement = {sizeof(WINDOWPLACEMENT), 0, 0, pt, pt}; + WINDOWPLACEMENT placement = {sizeof(WINDOWPLACEMENT), 0, 0, pt, pt, rect}; if (InSendMessageEx(dummy_ptr)) { event.any.flags |= PUGL_IS_SEND_EVENT; |