diff options
author | Tor Lillqvist <tml@novell.com> | 2005-02-03 20:51:48 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-02-03 20:51:48 +0000 |
commit | 8a5d05e253490a5851b7e142f4090971153c1178 (patch) | |
tree | dde9fda7e05a2cdac8a9daed8eea761a886efdb6 /modules | |
parent | a03c10fa14e4d9e33e487566ec6858192394621c (diff) | |
download | gtk+-8a5d05e253490a5851b7e142f4090971153c1178.tar.gz |
Use the wide character version of ImmGetCompositionString() here, too.
2005-02-03 Tor Lillqvist <tml@novell.com>
* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
wide character version of ImmGetCompositionString() here,
too. (#165278, Takuro Ashie)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/input/gtkimcontextime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/gtkimcontextime.c b/modules/input/gtkimcontextime.c index 833cf160b5..615e6a1f60 100644 --- a/modules/input/gtkimcontextime.c +++ b/modules/input/gtkimcontextime.c @@ -446,9 +446,9 @@ get_pango_attr_list (GtkIMContextIME *context_ime, const gchar *utf8str) /* * get attributes list of IME. */ - len = ImmGetCompositionStringA (himc, GCS_COMPATTR, NULL, 0); + len = ImmGetCompositionStringW (himc, GCS_COMPATTR, NULL, 0); buf = g_alloca (len); - ImmGetCompositionStringA (himc, GCS_COMPATTR, buf, len); + ImmGetCompositionStringW (himc, GCS_COMPATTR, buf, len); /* * schr and echr are pointer in utf8str. |