[evolution/gnome-3-20] EHTMLEditorSelection - Indented block style could not be set properly



commit 2f1dca459dfc6f1fd420c88ef8faab780ef9a499
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Jun 27 10:37:29 2016 +0200

    EHTMLEditorSelection - Indented block style could not be set properly

 e-util/e-html-editor-selection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index 9733ca3..3b8058a 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -3904,7 +3904,7 @@ e_html_editor_selection_indent (EHTMLEditorSelection *selection)
                                }
                        }
 
-                       if (element_has_class (WEBKIT_DOM_ELEMENT (block), "-x-evo-paragraph")) {
+                       if (element_has_class (WEBKIT_DOM_ELEMENT (block_to_process), "-x-evo-paragraph")) {
                                level = get_indentation_level (
                                        WEBKIT_DOM_ELEMENT (block_to_process));
 


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