[evolution] EHTMLEditorSelection - Ask for a parent node of the right node
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorSelection - Ask for a parent node of the right node
- Date: Mon, 11 Apr 2016 09:04:48 +0000 (UTC)
commit e9d34cf8254fc2cadb7ea9a9010d0283d03b7969
Author: Tomas Popela <tpopela redhat com>
Date: Mon Apr 11 11:02:53 2016 +0200
EHTMLEditorSelection - Ask for a parent node of the right node
This also avoids the use on an uninitialized variable.
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 aefacfc..9d13221 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -6566,7 +6566,7 @@ wrap_lines (EHTMLEditorSelection *selection,
} else if (!prev_nd) {
WebKitDOMNode *parent;
- parent = webkit_dom_node_get_parent_node (parent);
+ parent = webkit_dom_node_get_parent_node (nd);
if (!WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (parent))
start_point = nd;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]