diff options
Diffstat (limited to 'widgets/misc/e-search-bar.c')
-rw-r--r-- | widgets/misc/e-search-bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-search-bar.c b/widgets/misc/e-search-bar.c index cdf4b37113..72a4494dc4 100644 --- a/widgets/misc/e-search-bar.c +++ b/widgets/misc/e-search-bar.c @@ -603,7 +603,7 @@ set_menu (ESearchBar *esb, g_assert (items[i].subitems == NULL); new_item = g_new (ESearchBarItem, 1); - new_item->text = g_strdup (_(items[i].text)); + new_item->text = items[i].text ? g_strdup (_(items[i].text)) : NULL; new_item->id = items[i].id; new_item->subitems = NULL; |