diff --git a/msdf-atlas-gen/charset-parser.cpp b/msdf-atlas-gen/charset-parser.cpp index 44c511b..a272f5a 100644 --- a/msdf-atlas-gen/charset-parser.cpp +++ b/msdf-atlas-gen/charset-parser.cpp @@ -171,7 +171,6 @@ bool Charset::load(const char *filename) { goto FAIL; unicodeBuffer.clear(); buffer.clear(); - state = TIGHT; break; case '"': // string of UTF-8 characters if (state != CLEAR) diff --git a/msdf-atlas-gen/utf8.cpp b/msdf-atlas-gen/utf8.cpp index 7e81c57..393c5f2 100644 --- a/msdf-atlas-gen/utf8.cpp +++ b/msdf-atlas-gen/utf8.cpp @@ -19,7 +19,7 @@ void utf8Decode(std::vector &codepoints, const char *utf8String) { rBytes = 0; } else if (*c&0x40) { int block; - for (block = 0; (*c<>block))<<(6*block); rBytes = block;