winemac.drv: Use BOOL type where appropriate.
This commit is contained in:
parent
4281d19d76
commit
e0b68129fa
|
@ -1933,7 +1933,7 @@ void macdrv_window_drag_begin(HWND hwnd)
|
||||||
if (!(data = get_win_data(hwnd))) return;
|
if (!(data = get_win_data(hwnd))) return;
|
||||||
if (data->being_dragged) goto done;
|
if (data->being_dragged) goto done;
|
||||||
|
|
||||||
data->being_dragged = 1;
|
data->being_dragged = TRUE;
|
||||||
release_win_data(data);
|
release_win_data(data);
|
||||||
|
|
||||||
SendMessageW(hwnd, WM_ENTERSIZEMOVE, 0, 0);
|
SendMessageW(hwnd, WM_ENTERSIZEMOVE, 0, 0);
|
||||||
|
@ -1953,7 +1953,7 @@ void macdrv_window_drag_begin(HWND hwnd)
|
||||||
TRACE("done\n");
|
TRACE("done\n");
|
||||||
|
|
||||||
if ((data = get_win_data(hwnd)))
|
if ((data = get_win_data(hwnd)))
|
||||||
data->being_dragged = 0;
|
data->being_dragged = FALSE;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
release_win_data(data);
|
release_win_data(data);
|
||||||
|
|
Loading…
Reference in New Issue