From: Jan Djärv Date: Mon, 7 Feb 2005 21:31:56 +0000 (+0000) Subject: * xfns.c (x_set_tool_bar_lines): Check that width and height is greater than X-Git-Tag: ttn-vms-21-2-B4~2362 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bae45dc3a992c4bdd372172b9e6f16d6bab3d554;p=emacs.git * xfns.c (x_set_tool_bar_lines): Check that width and height is greater than zero before clearing area. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1d37ec13ff7..a2fed2f37c0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,8 @@ * xfns.c (Fx_change_window_property): Use long array when format is 32. (Fx_window_property): If format is 32 and long is bigger than 32 bits, convert long array returned from XGetWindowProperty to an int array. + (x_set_tool_bar_lines): Check that width and height is greater than + zero before clearing area. * xselect.c (x_reply_selection_request): Pass long array to XChangeProperty so that 64 bit longs are handeled correctly.