X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmultibyte%2Finternal.c;h=2f5aaa914a1e19e694e5372442533c9cb09ef377;hb=9e01be6e49b9ae433072207f420ef33c8189eb78;hp=bbdc4159a8aa51d2b04108338023cf60e3e95f81;hpb=f9cccfc16e58b39ee381fbdfb8688db3bb8e3555;p=musl diff --git a/src/multibyte/internal.c b/src/multibyte/internal.c index bbdc4159..2f5aaa91 100644 --- a/src/multibyte/internal.c +++ b/src/multibyte/internal.c @@ -1,9 +1,3 @@ -/* - * This code was written by Rich Felker in 2010; no copyright is claimed. - * This code is in the public domain. Attribution is appreciated but - * unnecessary. - */ - #include "internal.h" #define C(x) ( x<2 ? -1 : ( R(0x80,0xc0) | x ) ) @@ -15,7 +9,7 @@ | x ) #define F(x) ( ( x>=5 ? 0 : \ x==0 ? R(0x90,0xc0) : \ - x==4 ? R(0x80,0xa0) : \ + x==4 ? R(0x80,0x90) : \ R(0x80,0xc0) ) \ | ( R(0x80,0xc0) >> 6 ) \ | ( R(0x80,0xc0) >> 12 ) \