[evolution] Correct typo in the fix for bug 761883
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Correct typo in the fix for bug 761883
- Date: Thu, 18 Feb 2016 09:12:11 +0000 (UTC)
commit 77938fb2c68b40b19dc08a248492f667dc0b6f23
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 b7ffba8..2abf9c2 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]