diff options
-rw-r--r-- | ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp | 4 |
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); } } |