aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-autocompletion.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ephy-autocompletion.c')
-rw-r--r--lib/ephy-autocompletion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-autocompletion.c b/lib/ephy-autocompletion.c
index b2b79d5f3..e8fefdf4a 100644
--- a/lib/ephy-autocompletion.c
+++ b/lib/ephy-autocompletion.c
@@ -341,7 +341,7 @@ ephy_autocompletion_update_matches_full_item (EphyAutocompletionSource *source,
guint32 score,
EphyAutocompletionPrivate *p)
{
- g_return_if_fail (item != NULL);
+ g_return_if_fail ((item != NULL) || is_action);
if (is_action ||
(substring && g_strrstr (item, p->keys[0])) ||