projects
/
platform
/
core
/
uifw
/
libscl-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530fc1a
)
Fixed bug mime_type_cb is called whenever the ISE is shown
63/160863/1
author
InHong Han
<inhong1.han@samsung.com>
Mon, 20 Nov 2017 02:54:54 +0000
(11:54 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Mon, 20 Nov 2017 09:22:05 +0000
(09:22 +0000)
Change-Id: I1cce904e69729e6d3f8b2e3752a120e9ebad191f
src/sclconnection-isf.cpp
patch
|
blob
|
history
diff --git
a/src/sclconnection-isf.cpp
b/src/sclconnection-isf.cpp
index
9c3c48c
..
a7bcd4e
100644
(file)
--- a/
src/sclconnection-isf.cpp
+++ b/
src/sclconnection-isf.cpp
@@
-180,7
+180,7
@@
static void slot_ise_show(const scim::HelperAgent *agent, int ic, char *buf, siz
callback->on_set_imdata(imdata, ise_context.imdata_size);
}
- if (len >
=
(sizeof(Ise_Context) + ise_context.imdata_size))
+ if (len > (sizeof(Ise_Context) + ise_context.imdata_size))
callback->on_set_mime_type(buf + sizeof(ise_context) + ise_context.imdata_size);
} else {
LOGD("\n-=-= WARNING - buf %p len %d size %d \n", buf, len, sizeof(ise_context));