summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-06-16 20:58:20 +0000
committerTom Hacohen <tom@stosb.com>2016-06-16 19:15:20 +0100
commit3c5b0bc1b51b09e2061cc67ecd5dc77f91e651da (patch)
treea0925c26850d88bb6e7382644788ad292e300799
parentc9744965c036ecb96f24642aa37193125ee5d7ad (diff)
downloadefl-3c5b0bc1b51b09e2061cc67ecd5dc77f91e651da.tar.gz
Ui text: store SEL_FORMAT_TEXT only for now.
-rw-r--r--src/lib/elementary/efl_ui_text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index 3eb8c900f8..dd6d7647f0 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -1648,6 +1648,7 @@ _selection_store(Elm_Sel_Type seltype,
{
char *sel;
Efl_Canvas_Text_Cursor *start, *end;
+ Elm_Sel_Format format = ELM_SEL_FORMAT_TEXT;
EFL_UI_TEXT_DATA_GET(obj, sd);
@@ -1657,7 +1658,7 @@ _selection_store(Elm_Sel_Type seltype,
if ((!sel) || (!sel[0])) return; /* avoid deleting our own selection */
elm_cnp_selection_set
- (obj, seltype, sd->cnp_mode, sel, strlen(sel));
+ (obj, seltype, format, sel, strlen(sel));
elm_cnp_selection_loss_callback_set(obj, seltype, _selection_clear, obj);
if (seltype == ELM_SEL_TYPE_CLIPBOARD)
eina_stringshare_replace(&sd->cut_sel, sel);