aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-16 12:08:44 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-12 10:41:40 +0100
commit7a399913b40e4d2ffc215b2703316e70cec8742a (patch)
treec0b123e1f8e4050098eb90e78303ce3a47790f39
parentelementary_test: fix memory leak (diff)
downloadelementary-devs/captainigloo/osx.tar.gz
elm_cnp: fix set format (cocoa)devs/captainigloo/osx
-rw-r--r--src/lib/elm_cnp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index ab1d3d041..e6ca2d222 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -3558,6 +3558,7 @@ _job_pb_cb(void *data)
type = _elm_sel_format_to_ecore_cocoa_cnp_type(sel->requestformat);
pbdata = ecore_cocoa_selection_clipboard_get(&pbdata_len, type, &get_type);
+ ddata.format = ELM_SEL_FORMAT_NONE;
if (get_type & ECORE_COCOA_CNP_TYPE_STRING)
ddata.format |= ELM_SEL_FORMAT_TEXT;
if (get_type & ECORE_COCOA_CNP_TYPE_MARKUP)