From b9e16b4f15bfe31d2ebd7bfa216d1f03591b12d3 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Tue, 18 Aug 1998 03:54:50 +0000 Subject: [PATCH] core dump fiox from rob browning git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1002 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/register/combocell-gtk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/register/combocell-gtk.c b/src/register/combocell-gtk.c index 2a03f4922b..21dc64f9e0 100644 --- a/src/register/combocell-gtk.c +++ b/src/register/combocell-gtk.c @@ -174,11 +174,11 @@ xaccSetComboCellValue (ComboCell *cell, const char * str) { PopBox * box; + if(!str) str = ""; + SET (&(cell->cell), str); box = (PopBox *) (cell->cell.gui_private); - if(!str) str = ""; - gtk_entry_set_text(GTK_ENTRY(box->combobox->entry), str); }