[evolution/wip/webkit2] EHTMLEditorView - Fix formatting



commit f2e2e43ae9a09b4be554386cbac5bde5eba1165e
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 23 19:49:16 2016 +0100

    EHTMLEditorView - Fix formatting

 .../composer/e-html-editor-view-dom-functions.c    |    2 +-
 1 files changed, 1 insertions(+), 1 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 49884ba..367176e 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -3748,7 +3748,7 @@ get_decoded_line_length (WebKitDOMDocument *document,
                        text_length = webkit_dom_character_data_get_length (WEBKIT_DOM_CHARACTER_DATA (node));
                        total_length += text_length;
                        length += text_length;
-               } if (WEBKIT_DOM_IS_ELEMENT (node)) {
+               } else if (WEBKIT_DOM_IS_ELEMENT (node)) {
                        if (element_has_class (WEBKIT_DOM_ELEMENT (node), "Apple-tab-span")) {
                                total_length += TAB_LENGTH - length % TAB_LENGTH;
                                length = 0;


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