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/InitRD - Added inittab
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
utf-8.c
diff --git
a/Usermode/Applications/axwin3_src/WM/utf-8.c
b/Usermode/Applications/axwin3_src/WM/utf-8.c
index
5c08828
..
93e0318
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/utf-8.c
+++ b/
Usermode/Applications/axwin3_src/WM/utf-8.c
@@
-52,7
+52,7
@@
int ReadUTF8(const char *Input, uint32_t *Val)
}
// Four Byte
}
// Four Byte
- if( (*str & 0xF
1
) == 0xF0 ) {
+ if( (*str & 0xF
8
) == 0xF0 ) {
*Val = (*str & 0x07) << 18; // Upper 3 Bits
str ++;
if( (*str & 0xC0) != 0x80) return -1; // Validity check
*Val = (*str & 0x07) << 18; // Upper 3 Bits
str ++;
if( (*str & 0xC0) != 0x80) return -1; // Validity check
UCC
git Repository :: git.ucc.asn.au