From 4238d5574002e82e3717a4dba769478fce35d34c Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Mon, 20 Jan 2003 12:52:10 +0000 Subject: [PATCH] Fix assertion. Mon Jan 20 13:59:53 2003 Soeren Sandmann * gtk/gtktable.c (gtk_table_resize): Fix assertion. --- gtk/gtktable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtktable.c b/gtk/gtktable.c index f10578a949..1b62705831 100644 --- a/gtk/gtktable.c +++ b/gtk/gtktable.c @@ -512,7 +512,7 @@ gtk_table_resize (GtkTable *table, { g_return_if_fail (GTK_IS_TABLE (table)); g_return_if_fail (n_rows > 0 && n_rows < 65536); - g_return_if_fail (n_rows > 0 && n_cols < 65536); + g_return_if_fail (n_cols > 0 && n_cols < 65536); n_rows = MAX (n_rows, 1); n_cols = MAX (n_cols, 1);