Skip to content

Commit af046f9

Browse files
committed
windows: fix
1 parent 08c6d59 commit af046f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ruisapp/glue/windows/display.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ display_wrapper::window_class_wrapper::window_class_wrapper(
391391
WNDCLASSA wc;
392392

393393
wc.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; // redraw on resize, own DC for window
394-
wc.lpfnWndProc = &window_procedure;
394+
wc.lpfnWndProc = window_procedure;
395395
wc.cbClsExtra = 0; // no extra window data
396396
wc.cbWndExtra = 0; // no extra window data
397397
wc.hInstance = GetModuleHandle(nullptr); // instance handle

0 commit comments

Comments
 (0)