[evolution/gnome-3-20] EHTMLEditorView - Don't modify a variable from arguments



commit fe4c6baaed7ce0eeea8de7b72df1d0608ad699e4
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 1 15:03:51 2016 +0200

    EHTMLEditorView - Don't modify a variable from arguments

 e-util/e-html-editor-view.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 54e35a9..3e1da53 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -6708,7 +6708,7 @@ quote_br_node (WebKitDOMNode *node,
 
 static void
 quote_plain_text_recursive (WebKitDOMDocument *document,
-                           WebKitDOMNode *node,
+                           WebKitDOMNode *block,
                            WebKitDOMNode *start_node,
                            gint quote_level)
 {
@@ -6717,9 +6717,10 @@ quote_plain_text_recursive (WebKitDOMDocument *document,
        gboolean suppress_next = FALSE;
        gboolean is_html_node = FALSE;
        gboolean next = FALSE;
+       WebKitDOMNode *node;
        WebKitDOMNode *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]