summaryrefslogtreecommitdiff
path: root/src/lib/elm_cnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_cnp.c')
-rw-r--r--src/lib/elm_cnp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 2916a6f55..d2bd5e0f1 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -996,6 +996,14 @@ _x11_notify_handler_text(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify
996 cnp_debug("Notify handler text %d %d %p\n", data->format, 996 cnp_debug("Notify handler text %d %d %p\n", data->format,
997 data->length, data->data); 997 data->length, data->data);
998 mkupstr = _elm_util_text_to_mkup((const char *)stripstr); 998 mkupstr = _elm_util_text_to_mkup((const char *)stripstr);
999
1000 if (!mkupstr)
1001 {
1002 ERR("Failed to convert text to markup text!");
1003 free(stripstr);
1004 goto end;
1005 }
1006
999 cnp_debug("String is %s (from %s)\n", stripstr, data->data); 1007 cnp_debug("String is %s (from %s)\n", stripstr, data->data);
1000 /* TODO BUG: should never NEVER assume it's an elm_entry! */ 1008 /* TODO BUG: should never NEVER assume it's an elm_entry! */
1001 _elm_entry_entry_paste(sel->requestwidget, mkupstr); 1009 _elm_entry_entry_paste(sel->requestwidget, mkupstr);