[evolution/wip/webkit-composer: 743/966] Fix bug introduced by refactoring.



commit 74fc86d14b5630f159d0f4d68a2aecfda9f05b2b
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Sep 18 13:33:45 2013 +0200

    Fix bug introduced by refactoring.

 e-util/e-editor-selection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index f6285ae..dd43959 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -2979,7 +2979,7 @@ wrap_lines (EEditorSelection *selection,
                        /* When we are not removing user-entered BR elements (lines wrapped by user),
                         * we need to skip those elements */
                        if (!remove_all_br && WEBKIT_DOM_IS_HTMLBR_ELEMENT (node)) {
-                               if (element_has_class (WEBKIT_DOM_ELEMENT (node), "-x-evo-wrap-br")) {
+                               if (!element_has_class (WEBKIT_DOM_ELEMENT (node), "-x-evo-wrap-br")) {
                                        len = 0;
                                        node = webkit_dom_node_get_next_sibling (node);
                                        continue;


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