diff options
Diffstat (limited to 'winsup/cygwin/ctype.cc')
-rw-r--r-- | winsup/cygwin/ctype.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ctype.cc b/winsup/cygwin/ctype.cc index 224db4c19..fa8aad3eb 100644 --- a/winsup/cygwin/ctype.cc +++ b/winsup/cygwin/ctype.cc @@ -28,11 +28,11 @@ __set_ctype (const char *charset) idx = __iso_8859_index (charset + 9); /* Our ctype table has a leading ISO-8859-1 element. */ if (idx < 0) - idx = 0; + idx = 0; else ++idx; if (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE) - { + { memcpy (_ctype_b, __ctype_iso[idx], 128); memcpy (_ctype_b + 256, __ctype_iso[idx] + 256, 128); } |