summaryrefslogtreecommitdiff
path: root/utf8Routines.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-09-29 21:39:24 +0100
committerDave Hibberd <hibby@debian.org>2026-09-29 21:39:24 +0100
commit592e5967b8fcd79423802071319d0c646f2080df (patch)
tree0eef3a28cfe1a939caf9d61e419a56d79b3c38e3 /utf8Routines.c
parent23de03a0c8bf8a564cc0442f49d050ed11e372b8 (diff)
New upstream version 6.0.25.41+repackupstream/6.0.25.41+repack
Diffstat (limited to 'utf8Routines.c')
-rw-r--r--utf8Routines.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utf8Routines.c b/utf8Routines.c
index c0f9ca3..d322013 100644
--- a/utf8Routines.c
+++ b/utf8Routines.c
@@ -537,15 +537,13 @@ int TrytoGuessCode(unsigned char * Char, int Len)
if (Char[n] > 127)
{
Above127++;
- if (Char[n] > 178 && Char[n] < 219)
- {
+ if (Char[n] > 175 && Char[n] < 224)
LineDraw++;
- }
}
}
}
- if (Above127 == 0) // DOesn't really matter!
+ if (Above127 == 0) // Doesn't really matter!
return 1252;
if (LineDraw > ((Above127 * 9) / 10))