From 08a3a1e8e2345f004a98ef035cdca2b9a2715b42 Mon Sep 17 00:00:00 2001 From: Daniel Hirt Date: Thu, 16 Jun 2016 20:58:20 +0000 Subject: Ui text: store SEL_FORMAT_TEXT only for now. --- src/lib/elementary/efl_ui_text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1