diff options
Diffstat (limited to 'gtk/PlatGTK.cxx')
| -rw-r--r-- | gtk/PlatGTK.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 827835a75..cb2e020e4 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -830,7 +830,9 @@ void ListBox::Append(char *s) {  }  int ListBox::Length() { -	return GTK_CLIST(list)->rows; +	if (id) +		return GTK_CLIST(list)->rows; +	return 0;  }  void ListBox::Select(int n) { | 
