From 3073810e5467ff29e64d5bd949a77e09e958e729 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Fri, 27 Dec 2019 12:58:30 +0900 Subject: Modified to set valid Ecore_IMF_Preedit_Attr's end_index Change-Id: Ifa332c1a9c53082dd5babaf476e750edd6d09181 --- ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 4 ++-- 1 file 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); } } -- cgit v1.2.3