summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eom-uri-converter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c
index d38b52d..68c5714 100644
--- a/src/eom-uri-converter.c
+++ b/src/eom-uri-converter.c
@@ -794,7 +794,7 @@ eom_uri_converter_do (EomURIConverter *conv, EomImage *image,
repl_str = replace_remove_chars (str, priv->convert_spaces, priv->space_character);
- if (repl_str->len > 0) {
+ if ((repl_str != NULL) && (repl_str->len > 0)) {
build_absolute_file (conv, image, repl_str, file, format);
}