projects
/
platform
/
core
/
api
/
inputmethod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904787f
)
Fix build warning
59/61959/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 11 Mar 2016 11:43:48 +0000
(20:43 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Fri, 11 Mar 2016 11:43:48 +0000
(20:43 +0900)
Change-Id: I09665e863e094b1215d0e3e4330f4dae74f7c0e5
src/inputmethod.cpp
patch
|
blob
|
history
diff --git
a/src/inputmethod.cpp
b/src/inputmethod.cpp
index
71d3832
..
a592a4a
100644
(file)
--- a/
src/inputmethod.cpp
+++ b/
src/inputmethod.cpp
@@
-787,10
+787,12
@@
int ime_update_preedit_string(const char *str, Eina_List *attrs)
}
scim::AttributeList attrv;
+ void *data = NULL;
ime_preedit_attribute *attr = NULL;
if (attrs) {
- EINA_LIST_FREE(attrs, attr) {
+ EINA_LIST_FREE(attrs, data) {
+ attr = (ime_preedit_attribute *)data;
if (attr) {
attrv.push_back(scim::Attribute(attr->start, attr->length, (scim::AttributeType)attr->type, attr->value));
free(attr);