aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index d101a892d..7043f6496 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -451,6 +451,7 @@ popup_cmd_open_image (GtkAction *action,
address = g_value_get_string (value);
scheme = gnome_vfs_get_uri_scheme (address);
+ if (scheme == NULL) return;
if (strcmp (scheme, "file") == 0)
{