# HG changeset patch # User Richard Nelson # Date 1172807403 0 # Node ID ba30f28193ff23202be6d25a0c4655101ae0dd17 # Parent 0e9bcdeaf2fa5979d8199675857794917394aa1b gnttree can have a size of 1. This fixes meh. gntcombobox crashes if it has only one item in it diff -r 0e9bcdeaf2fa -r ba30f28193ff console/libgnt/gnttree.c --- a/console/libgnt/gnttree.c Fri Mar 02 03:35:44 2007 +0000 +++ b/console/libgnt/gnttree.c Fri Mar 02 03:50:03 2007 +0000 @@ -835,7 +835,7 @@ tree->show_separator = TRUE; GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_GROW_X | GNT_WIDGET_GROW_Y); widget->priv.minw = 4; - widget->priv.minh = 4; + widget->priv.minh = 1; GNTDEBUG; }