[evolution/gnome-3-28] Bug 794474 - Headers in forwarded message credits in opposite order (HTML)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-28] Bug 794474 - Headers in forwarded message credits in opposite order (HTML)
- Date: Wed, 21 Mar 2018 17:29:47 +0000 (UTC)
commit 375bac42cc72ed1dd8128dd6e3fefdff72803a08
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 21 18:30:06 2018 +0100
Bug 794474 - Headers in forwarded message credits in opposite order (HTML)
.../web-extension/e-editor-dom-functions.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index ca78200..f3d5845 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -1349,8 +1349,8 @@ move_elements_to_body (EEditorPage *editor_page)
body = webkit_dom_document_get_body (document);
list = webkit_dom_document_query_selector_all (
document, "div[data-headers]", NULL);
- for (jj = 0, ii = webkit_dom_node_list_get_length (list); ii--; jj++) {
- WebKitDOMNode *node = webkit_dom_node_list_item (list, jj);
+ for (ii = webkit_dom_node_list_get_length (list); ii--;) {
+ WebKitDOMNode *node = webkit_dom_node_list_item (list, ii);
webkit_dom_element_remove_attribute (
WEBKIT_DOM_ELEMENT (node), "data-headers");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]