gdkanji: drop another redundant check #456
This statement first checks c>=64 which means c!=0 is always true.master
parent
59574eab0f
commit
0f98c3fe7a
|
@ -142,7 +142,7 @@ DetectKanjiCode (const unsigned char *str)
|
|||
whatcode = EUCORSJIS;
|
||||
else if (c >= 224 && c <= 239) {
|
||||
whatcode = EUCORSJIS;
|
||||
while (c >= 64 && c != '\0' && whatcode == EUCORSJIS) {
|
||||
while (c >= 64 && whatcode == EUCORSJIS) {
|
||||
if (c >= 129) {
|
||||
if (c <= 141 || (c >= 143 && c <= 159))
|
||||
whatcode = SJIS;
|
||||
|
|
Loading…
Reference in New Issue