summaryrefslogtreecommitdiff
path: root/ism
diff options
context:
space:
mode:
authorInHong Han <inhong1.han@samsung.com>2019-12-27 12:58:30 +0900
committerInHong Han <inhong1.han@samsung.com>2019-12-27 12:58:30 +0900
commit3073810e5467ff29e64d5bd949a77e09e958e729 (patch)
tree0814c061d5db5c7549d58ab80616160868a4e455 /ism
parent2f9d36eaab68f93a3e00c282174ebffcdc9f3b39 (diff)
downloadisf-3073810e5467ff29e64d5bd949a77e09e958e729.tar.gz
isf-3073810e5467ff29e64d5bd949a77e09e958e729.tar.bz2
isf-3073810e5467ff29e64d5bd949a77e09e958e729.zip
Modified to set valid Ecore_IMF_Preedit_Attr's end_index
Change-Id: Ifa332c1a9c53082dd5babaf476e750edd6d09181
Diffstat (limited to 'ism')
-rw-r--r--ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp
index b6631479..b2849345 100644
--- a/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp
+++ b/ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp
@@ -1911,7 +1911,7 @@ wsc_send_preedit_style (WSCContextISF* wsc_ctx)
wl_input_method_context_preedit_styling (wsc_ctx->im_ctx,
start_index,
- end_index,
+ end_index - start_index,
preedit_style);
switch (i->get_value ())
@@ -1951,7 +1951,7 @@ wsc_send_preedit_style (WSCContextISF* wsc_ctx)
wl_input_method_context_preedit_styling (wsc_ctx->im_ctx,
start_index,
- end_index,
+ end_index - start_index,
preedit_style);
}
}