Module: wine Branch: master Commit: 97c0a52ae552ed856c0955e8badfe0ddf88be91d URL: https://gitlab.winehq.org/wine/wine/-/commit/97c0a52ae552ed856c0955e8badfe0d... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Jun 13 07:14:33 2023 +0200 winex11: Report empty preedit string when result string is committed. Based on a patch from Byeong-Sik Jeon <bsjeon(a)hanmail.net>. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55027 --- dlls/winex11.drv/xim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c index 1c3d2dd9875..1b063cfe886 100644 --- a/dlls/winex11.drv/xim.c +++ b/dlls/winex11.drv/xim.c @@ -140,7 +140,7 @@ void xim_set_result_string( HWND hwnd, const char *str, UINT count ) len = ntdll_umbstowcs( str, count, output, count ); output[len] = 0; - post_ime_update( hwnd, 0, ime_comp_buf, output ); + post_ime_update( hwnd, 0, NULL, output ); free( output ); }