changeset 59981:14a19fb55a51

* xfns.c (x_set_tool_bar_lines): Check that width and height is greater than zero before clearing area.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 07 Feb 2005 21:31:56 +0000
parents 7f8e4c715b72
children 107c288df93f
files src/ChangeLog
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Feb 07 21:31:28 2005 +0000
+++ b/src/ChangeLog	Mon Feb 07 21:31:56 2005 +0000
@@ -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.