projects
/
platform
/
core
/
uifw
/
ise-engine-thai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7b831a
)
Fix wrong parameter to get surrounding_text
75/273375/1
author
InHong Han
<inhong1.han@samsung.com>
Tue, 5 Apr 2022 01:00:21 +0000
(10:00 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Tue, 5 Apr 2022 05:41:32 +0000
(14:41 +0900)
Change-Id: Ic728ac8afe83344a2e2bc83b9e9243d0e92566a8
src/scim_thai_imengine.cpp
patch
|
blob
|
history
diff --git
a/src/scim_thai_imengine.cpp
b/src/scim_thai_imengine.cpp
index 5c753e592d18f34961163c24541b62f6f0edac0b..a2e6e4bdd7c6354ec21deca4c35b3dfe84770fff 100644
(file)
--- a/
src/scim_thai_imengine.cpp
+++ b/
src/scim_thai_imengine.cpp
@@
-80,8
+80,7
@@
ThaiInstance::_get_previous_cell ()
th_init_cell (&the_cell);
- unsigned int len = 0;
- if (get_surrounding_text (surrounding, cursor_index, len, len))
+ if (get_surrounding_text (surrounding, cursor_index, -1, -1))
{
thchar_t* tis_text = new thchar_t [cursor_index+1];
if (!tis_text)