diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/hangul/hangul-fc.c | 2 | ||||
-rw-r--r-- | modules/hangul/hangul-xft.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c index 9c693a77..ec26d4d0 100644 --- a/modules/hangul/hangul-fc.c +++ b/modules/hangul/hangul-fc.c @@ -172,7 +172,7 @@ hangul_engine_shape (PangoFont *font, if (jamos == jamos_static) { jamos = g_new (gunichar, max_jamos); - memcpy(jamos, jamos_static, n_jamos*sizeof(gunichar2)); + memcpy(jamos, jamos_static, n_jamos*sizeof(gunichar)); } else jamos = g_renew (gunichar, jamos, max_jamos); diff --git a/modules/hangul/hangul-xft.c b/modules/hangul/hangul-xft.c index 9c693a77..ec26d4d0 100644 --- a/modules/hangul/hangul-xft.c +++ b/modules/hangul/hangul-xft.c @@ -172,7 +172,7 @@ hangul_engine_shape (PangoFont *font, if (jamos == jamos_static) { jamos = g_new (gunichar, max_jamos); - memcpy(jamos, jamos_static, n_jamos*sizeof(gunichar2)); + memcpy(jamos, jamos_static, n_jamos*sizeof(gunichar)); } else jamos = g_renew (gunichar, jamos, max_jamos); |