projects
/
framework
/
uifw
/
cbhm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e79df12
)
change unescaped string type
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 16 Feb 2011 12:22:16 +0000
(21:22 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 16 Feb 2011 12:22:16 +0000
(21:22 +0900)
src/xcnphandler.c
patch
|
blob
|
history
diff --git
a/src/xcnphandler.c
b/src/xcnphandler.c
index
2e129c2
..
2b854ff
100755
(executable)
--- a/
src/xcnphandler.c
+++ b/
src/xcnphandler.c
@@
-185,7
+185,7
@@
int get_selection_content(void *data)
unsigned long cbsize, cbitems;
unsigned char *cbbuf;
struct appdata *ad = data;
- c
onst char *unesc
;
+ c
har *unesc = NULL
;
size_t unesc_len = 0;
int i;
@@
-216,7
+216,7
@@
int get_selection_content(void *data)
#define _NORMAL
#ifdef _NORMAL
unesc = clipdrawer_get_plain_string_from_escaped(cbbuf);
- if (unesc
!= NULL
)
+ if (unesc)
{
unesc_len = strlen(unesc);
// FIXME: invent more clever way to right trim the string