[evolution/gnome-3-24] Minor code style fixes



commit a6bc7a57d343b6ec27b1676f8b227891ab1d469b
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Mar 30 17:31:12 2017 +0200

    Minor code style fixes
    
    Typos, brackets, whitespaces.

 .../web-extension/e-editor-dom-functions.c         |    5 ++---
 .../web-extension/e-editor-undo-redo-manager.c     |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c 
b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index 61e6efe..3b5e431 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -3584,7 +3584,7 @@ body_input_event_cb (WebKitDOMElement *element,
        g_return_if_fail (E_IS_EDITOR_PAGE (editor_page));
 
        /* Only process the input event if it was triggered by the key press
-        * and not i.e. by exexCommand. This behavior changed when the support
+        * and not i.e. by execCommand. This behavior changed when the support
         * for beforeinput event was introduced in WebKit. */
        if (e_editor_page_is_processing_keypress_event (editor_page))
                e_editor_dom_body_input_event_process (editor_page, event);
@@ -3654,7 +3654,7 @@ remove_empty_blocks (WebKitDOMDocument *document)
 
 /* Following two functions are used when deleting the selection inside
  * the quoted content. The thing is that normally the quote marks are not
- * selectable by user. But this caused a lof of problems for WebKit when removing
+ * selectable by user. But this caused a lot of problems for WebKit when removing
  * the selection. This will avoid it as when the delete or backspace key is pressed
  * we will make the quote marks user selectable so they will act as any other text.
  * On HTML keyup event callback we will make them again non-selectable. */
@@ -9359,7 +9359,6 @@ save_history_for_delete_or_backspace (EEditorPage *editor_page,
                        }
                }
 
-
                if (!fragment)
                        fragment = webkit_dom_range_clone_contents (range_clone, NULL);
                if (removing_from_anchor)
diff --git a/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c 
b/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
index 321d01a..a030ef7 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
@@ -396,7 +396,7 @@ undo_delete (EEditorPage *editor_page,
                                                        next_block,
                                                        NULL);
                                        }
-                               else {
+                               } else {
                                        if (e_editor_dom_get_citation_level (block, FALSE) > 0) {
                                                WebKitDOMNode *next_node;
 


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