diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:18 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:18 +0200 |
commit | 5c29b174a11e992dac68553f08645fe4a825c315 (patch) | |
tree | 7c72e5a49112a844a53a2c10ef1fda47867aee92 /src/mktable.c | |
parent | 6cac1738b6aebf75b29d225775030d291319f9a2 (diff) | |
parent | e25c754918ae26e8b9e68a47bc1af36248e91800 (diff) |
Update upstream source from tag 'upstream/6.9.2'
Update to upstream version '6.9.2'
with Debian dir a351ad757689417d0ede510a023d625faee8e3e9
Diffstat (limited to 'src/mktable.c')
-rw-r--r-- | src/mktable.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mktable.c b/src/mktable.c index a9cac2c..80ac08a 100644 --- a/src/mktable.c +++ b/src/mktable.c @@ -2,7 +2,7 @@ mktable.c **********************************************************************/ /*- - * Copyright (c) 2002-2016 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> + * Copyright (c) 2002-2019 K.Kosako <sndgk393 AT ybb DOT ne DOT jp> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -269,7 +269,7 @@ static int IsBlank(int enc, int c) if (enc == ASCII) return isblank(c); - if (c == 0x09 || c == 0x20) return 1; + if (c == 0x09 || c == 0x20) return 1; switch (enc) { case UNICODE_ISO_8859_1: @@ -308,7 +308,7 @@ static int IsCntrl(int enc, int c) if (enc == ASCII) return iscntrl(c); - if (c >= 0x00 && c <= 0x1F) return 1; + if (c >= 0x00 && c <= 0x1F) return 1; switch (enc) { case UNICODE_ISO_8859_1: @@ -376,10 +376,10 @@ static int IsGraph(int enc, int c) case ISO_8859_3: if (c >= 0xa1) { if (c == 0xa5 || c == 0xae || c == 0xbe || c == 0xc3 || c == 0xd0 || - c == 0xe3 || c == 0xf0) - return 0; + c == 0xe3 || c == 0xf0) + return 0; else - return 1; + return 1; } break; @@ -392,8 +392,8 @@ static int IsGraph(int enc, int c) case ISO_8859_7: if (c >= 0xa1 && c <= 0xfe && - c != 0xa4 && c != 0xa5 && c != 0xaa && - c != 0xae && c != 0xd2) return 1; + c != 0xa4 && c != 0xa5 && c != 0xaa && + c != 0xae && c != 0xd2) return 1; break; case ISO_8859_8: @@ -583,10 +583,10 @@ static int IsPrint(int enc, int c) case ISO_8859_3: if (c >= 0xa0) { if (c == 0xa5 || c == 0xae || c == 0xbe || c == 0xc3 || c == 0xd0 || - c == 0xe3 || c == 0xf0) - return 0; + c == 0xe3 || c == 0xf0) + return 0; else - return 1; + return 1; } break; @@ -600,8 +600,8 @@ static int IsPrint(int enc, int c) case ISO_8859_7: if (c >= 0xa0 && c <= 0xfe && - c != 0xa4 && c != 0xa5 && c != 0xaa && - c != 0xae && c != 0xd2) return 1; + c != 0xa4 && c != 0xa5 && c != 0xaa && + c != 0xae && c != 0xd2) return 1; break; case ISO_8859_8: @@ -1012,7 +1012,7 @@ static int IsWord(int enc, int c) case ISO_8859_10: if (c >= 0xa1 && c <= 0xff) { if (c != 0xa7 && c != 0xad && c != 0xb0 && c != 0xb7 && c != 0xbd) - return 1; + return 1; } break; @@ -1037,7 +1037,7 @@ static int IsWord(int enc, int c) case ISO_8859_14: if (c >= 0xa1 && c <= 0xff) { if (c == 0xa3 || c == 0xa7 || c == 0xa9 || c == 0xad || c == 0xae || - c == 0xb6) return 0; + c == 0xb6) return 0; return 1; } break; |