aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/jis0208.h
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/jis0208.h')
-rw-r--r--iconvdata/jis0208.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/jis0208.h b/iconvdata/jis0208.h
index a83ee3bbda..67d7be52ae 100644
--- a/iconvdata/jis0208.h
+++ b/iconvdata/jis0208.h
@@ -81,7 +81,7 @@ ucs4_to_jisx0208 (uint32_t wch, char *s, size_t avail)
if (ch < 0x100)
cp = __jisx0208_from_ucs4_lat1[ch];
else if (ch >= 0x391 && ch <= 0x451)
- cp = __jisx0208_from_ucs4_greek[ch];
+ cp = __jisx0208_from_ucs4_greek[ch - 0x391];
else
{
const struct jisx0208_ucs_idx *rp = __jisx0208_from_ucs_idx;