git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel/PTYs - Add initial dims/mode to PTY_Create
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
lib.c
diff --git
a/KernelLand/Kernel/lib.c
b/KernelLand/Kernel/lib.c
index
5f302d4
..
d0c6de6
100644
(file)
--- a/
KernelLand/Kernel/lib.c
+++ b/
KernelLand/Kernel/lib.c
@@
-180,7
+180,7
@@
int ReadUTF8(const Uint8 *str, Uint32 *Val)
}
// Four Byte
- if( (*str & 0xF
1
) == 0xF0 ) {
+ if( (*str & 0xF
8
) == 0xF0 ) {
outval = (*str & 0x07) << 18; // Upper 3 Bits
str ++;
if( (*str & 0xC0) != 0x80) return 2; // Validity check
UCC
git Repository :: git.ucc.asn.au