[evolution/wip/webkit2] EHTMLEditorView - Don't modify a variable from arguments



commit 61929976acea1fb97cedcbf9dab893122af764cc
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 16:10:02 2016 +0200

    EHTMLEditorView - Don't modify a variable from arguments

 .../web-extension/e-editor-dom-functions.c         |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
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 b5a588f..2ae298e 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -4509,7 +4509,7 @@ quote_br_node (WebKitDOMNode *node,
 
 static void
 quote_plain_text_recursive (WebKitDOMDocument *document,
-                            WebKitDOMNode *node,
+                            WebKitDOMNode *block,
                             WebKitDOMNode *start_node,
                             gint quote_level)
 {
@@ -4518,9 +4518,9 @@ quote_plain_text_recursive (WebKitDOMDocument *document,
        gboolean suppress_next = FALSE;
        gboolean is_html_node = FALSE;
        gboolean next = FALSE;
-       WebKitDOMNode *next_sibling, *prev_sibling;
+       WebKitDOMNode *node, *next_sibling, *prev_sibling;
 
-       node = webkit_dom_node_get_first_child (node);
+       node = webkit_dom_node_get_first_child (block);
 
        while (node) {
                gchar *text_content;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]