[evolution/wip/webkit2] Correct typo in the fix for bug 761883



commit ce42b67ebbf42a27f532974e97865b0857409c1c
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 3 16:06:22 2016 +0100

    Correct typo in the fix for bug 761883

 .../composer/e-html-editor-view-dom-functions.c    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c 
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index aa49a73..5ee8ceb 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -2825,8 +2825,8 @@ dom_merge_siblings_if_necessary (WebKitDOMDocument *document,
                goto signature;
  repeat:
        child = webkit_dom_node_get_previous_sibling (WEBKIT_DOM_NODE (element));
-       if (WEBKIT_DOM_IS_ELEMENT (prev_element))
-               prev_element = WEBKIT_DOM_ELEMENT (prev_element);
+       if (WEBKIT_DOM_IS_ELEMENT (child))
+               prev_element = WEBKIT_DOM_ELEMENT (child);
        else
                goto signature;
 


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