projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7a287
)
Since procmime_get_part_as_inputstream can return NULL and never touches error we...
author
Michael Rasmussen
<mir@datanom.net>
Wed, 3 Jul 2019 18:16:44 +0000
(20:16 +0200)
committer
Michael Rasmussen
<mir@datanom.net>
Wed, 3 Jul 2019 18:16:44 +0000
(20:16 +0200)
Signed-off-by: Michael Rasmussen <mir@datanom.net>
src/plugins/litehtml_viewer/lh_widget.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/litehtml_viewer/lh_widget.cpp
b/src/plugins/litehtml_viewer/lh_widget.cpp
index fb2d2a640537a93846ed3eb891643cf26a51fb0e..436bb76fe47295ef9fd6687267889192c48f7085 100644
(file)
--- a/
src/plugins/litehtml_viewer/lh_widget.cpp
+++ b/
src/plugins/litehtml_viewer/lh_widget.cpp
@@
-455,7
+455,7
@@
GdkPixbuf *lh_widget::get_local_image(const litehtml::tstring url) const
GError *error = NULL;
stream = procmime_get_part_as_inputstream(p, &error);
- if (error != NULL) {
+ if (error != NULL
|| stream == NULL
) {
g_warning("Couldn't get image MIME part: %s\n", error->message);
g_error_free(error);
return NULL;