winemac: Clamp the number of colors to <= 256 in bitmap_info_size().
commit12ea83acb501dc7a9641b7f8d2f5419a2637c5fb
authorKen Thomases <ken@codeweavers.com>
Sun, 23 Oct 2016 18:03:26 +0000 (23 13:03 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 24 Oct 2016 09:08:34 +0000 (24 11:08 +0200)
treeaafb89412487848966c2a74ffd2a0a066c239e5f
parent8b75e66a5b27082610725553e048da2c079b79d8
winemac: Clamp the number of colors to <= 256 in bitmap_info_size().

… as is done in user32's and gdi32's version of the same function.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/clipboard.c