27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From d74c18bcc12f056d98cc1fcdb90f4372015ebf0e Mon Sep 17 00:00:00 2001
|
|
From: Milan Crha <mcrha@redhat.com>
|
|
Date: Thu, 13 Oct 2016 13:00:36 +0200
|
|
Subject: [PATCH] Bug 772803 - Inline images cause busy loop on Reply in
|
|
WebKitWebProcess
|
|
|
|
---
|
|
src/modules/webkit-editor/web-extension/e-editor-dom-functions.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
|
|
index c61d365..0e8da0d 100644
|
|
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
|
|
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
|
|
@@ -8419,7 +8419,7 @@ change_cid_images_src_to_base64 (EEditorPage *editor_page)
|
|
|
|
list = webkit_dom_document_query_selector_all (
|
|
document, selector, NULL);
|
|
- for (jj = webkit_dom_node_list_get_length (list) - 1; jj--;) {
|
|
+ for (jj = webkit_dom_node_list_get_length (list); jj--;) {
|
|
WebKitDOMNode *node = webkit_dom_node_list_item (list, jj);
|
|
|
|
set_base64_to_element_attribute (
|
|
--
|
|
2.7.4
|
|
|