Module: wine Branch: master Commit: 59820f0efb0ecfc7e91270ad79424b87a2443dfa URL: https://gitlab.winehq.org/wine/wine/-/commit/59820f0efb0ecfc7e91270ad79424b8...
Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Jan 10 21:03:48 2024 +0100
winex11: Return STATUS_NOT_FOUND when IME update isn't found.
---
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 209d63f0402..155cd13809e 100644 --- a/dlls/winex11.drv/xim.c +++ b/dlls/winex11.drv/xim.c @@ -555,7 +555,7 @@ UINT X11DRV_ImeToAsciiEx( UINT vkey, UINT lparam, const BYTE *state, COMPOSITION if (!(update = find_ime_update( lparam ))) { pthread_mutex_unlock( &ime_mutex ); - return 0; + return STATUS_NOT_FOUND; }
if (!update->comp_str) comp_len = 0;