X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=string_rep.h;h=13a167462aec90712a94e5b832de380b917f1cc8;hb=103d024a3572a6607bd7d18a129b93d2dbfeff82;hp=873563b38726c145ba833dc67451b4d4ad5d5ac3;hpb=2beaa4f65961fe297663e1cec9e5632b7f3e1cba;p=cparser diff --git a/string_rep.h b/string_rep.h index 873563b..13a1674 100644 --- a/string_rep.h +++ b/string_rep.h @@ -47,7 +47,7 @@ static inline utf32 read_utf8_char(const char **p) if ((*c & 0x80) == 0) { /* 1 character encoding: 0b0??????? */ - result = *c++; + result = *c++; } else if ((*c & 0xE0) == 0xC0) { /* 2 character encoding: 0b110?????, 0b10?????? */ result = *c++ & 0x1F;