diff options
author | Bruno Haible <bruno@clisp.org> | 2010-03-25 07:48:14 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-03-25 07:48:14 +0100 |
commit | aeb898d88cddc17cefc7738940b4917e9ee27933 (patch) | |
tree | ae514cb8789f65af85031f2b7ae2d283d2133571 /lib/uniname | |
parent | 4ffe8b817bffb608db5d8342fa81824aed191ba6 (diff) | |
download | gnulib-aeb898d88cddc17cefc7738940b4917e9ee27933.tar.gz |
Minor formatting changes.
Diffstat (limited to 'lib/uniname')
-rw-r--r-- | lib/uniname/uniname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/uniname/uniname.c b/lib/uniname/uniname.c index cf2be15ccd..e4b81cc3f0 100644 --- a/lib/uniname/uniname.c +++ b/lib/uniname/uniname.c @@ -388,19 +388,19 @@ unicode_name_character (const char *name) unsigned int index1; for (index1 = 0; index1 < 19; index1++) - if (memcmp(jamo_initial_short_name[index1], p1, n1) == 0 + if (memcmp (jamo_initial_short_name[index1], p1, n1) == 0 && jamo_initial_short_name[index1][n1] == '\0') { unsigned int index2; for (index2 = 0; index2 < 21; index2++) - if (memcmp(jamo_medial_short_name[index2], p2, n2) == 0 + if (memcmp (jamo_medial_short_name[index2], p2, n2) == 0 && jamo_medial_short_name[index2][n2] == '\0') { unsigned int index3; for (index3 = 0; index3 < 28; index3++) - if (memcmp(jamo_final_short_name[index3], p3, n3) == 0 + if (memcmp (jamo_final_short_name[index3], p3, n3) == 0 && jamo_final_short_name[index3][n3] == '\0') { return 0xAC00 + (index1 * 21 + index2) * 28 + index3; |