projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c9f66
)
[elm_cnp_helper] cutting paste text to fit string length
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Mon, 27 Sep 2010 11:49:54 +0000
(20:49 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Mon, 27 Sep 2010 11:49:54 +0000
(20:49 +0900)
src/lib/elm_cnp_helper.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp_helper.c
b/src/lib/elm_cnp_helper.c
index
93c99c7
..
44b7171
100644
(file)
--- a/
src/lib/elm_cnp_helper.c
+++ b/
src/lib/elm_cnp_helper.c
@@
-642,6
+642,8
@@
notify_handler_text(struct _elm_cnp_selection *sel,
data = notify->data;
cnp_debug("Notify handler text %d %d %p\n",data->format,data->length,data->data);
str = mark_up((char*)data->data, NULL);
+ // FIXME: should it be cutted to fit length??
+ str[data->length] = '\0';
cnp_debug("String is %s (from %s)\n",str,data->data);
elm_entry_entry_insert(sel->requestwidget, str);
free(str);