Modified to change preedit_cursor when zero caret received 53/182553/1
authorInHong Han <inhong1.han@samsung.com>
Tue, 26 Jun 2018 06:17:57 +0000 (15:17 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 26 Jun 2018 06:18:01 +0000 (15:18 +0900)
Change-Id: I4a61293c362c45cc30a00c37fc73ea3cbf7bb006

ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index ff470b4..9cbbed4 100644 (file)
@@ -1977,7 +1977,7 @@ wsc_send_preedit (WSCContextISF* wsc_ctx, int32_t cursor)
 
     uint32_t index = strlen (wsc_ctx->preedit_str);
 
-    if (cursor > 0)
+    if (cursor >= 0)
         index = cursor;
 
     /* Note : Since the current wayland_immodule implementation does not call