[evolution/gnome-3-18] Correct typo in the fix for bug 761883
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-18] Correct typo in the fix for bug 761883
- Date: Thu, 18 Feb 2016 09:14:36 +0000 (UTC)
commit 8f67c06efcf2ed043b8ab60e9f1de4621eb30e5e
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 18 10:09:56 2016 +0100
Correct typo in the fix for bug 761883
An uninitialized variable had been used in the code, which could
lead to a crash when the code was executed.
e-util/e-html-editor-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 7a3064f..578a66c 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -3263,8 +3263,8 @@ merge_siblings_if_necessary (WebKitDOMDocument *document,
goto signature;
repeat:
child = webkit_dom_node_get_previous_sibling (WEBKIT_DOM_NODE (element));
- if (WEBKIT_DOM_IS_ELEMENT (prev_element))
- prev_element = WEBKIT_DOM_ELEMENT (prev_element);
+ if (WEBKIT_DOM_IS_ELEMENT (child))
+ prev_element = WEBKIT_DOM_ELEMENT (child);
else
goto signature;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]