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



commit ab9eb360b2e08672e40884c48762eb723813d598
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 41afae3..c9982ea 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -2983,7 +2983,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]