minor fix
This commit is contained in:
parent
661092081c
commit
4175cec89e
@ -422,7 +422,7 @@ mfb_update_events(struct mfb_window *window) {
|
|||||||
SWindowData_Win *window_data_win = (SWindowData_Win *) window_data->specific;
|
SWindowData_Win *window_data_win = (SWindowData_Win *) window_data->specific;
|
||||||
while (window_data->close == false && PeekMessage(&msg, window_data_win->window, 0, 0, PM_REMOVE)) {
|
while (window_data->close == false && PeekMessage(&msg, window_data_win->window, 0, 0, PM_REMOVE)) {
|
||||||
if(msg.message == WM_PAINT)
|
if(msg.message == WM_PAINT)
|
||||||
return;
|
return STATE_OK;
|
||||||
|
|
||||||
TranslateMessage(&msg);
|
TranslateMessage(&msg);
|
||||||
DispatchMessage(&msg);
|
DispatchMessage(&msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user