Open GoogleCodeExporter opened 8 years ago
Index: src/printer.cpp =================================================================== --- src/printer.cpp (revision 503) +++ src/printer.cpp (working copy) @@ -120,7 +120,7 @@ continue; } else { int bytes = cnvt_utf8_to_ucs4(utf8 + i, &ucs4); - if (bytes < 0) fatal("%s:%u invalid utf8 encodeing in string", __FILE__, __LINE__); + if (bytes < 0) fatal("%s:%u invalid utf8 encoding in string", __FILE__, __LINE__); if (ucs4_subsequent(ucs4)) { write_ucs4(ucs4); } else { @@ -156,7 +156,7 @@ i = i + 1; } else { int bytes = cnvt_utf8_to_ucs4(utf8 + i, &ucs4); - if (bytes < 0) fatal("%s:%u invalid utf8 encodeing in symbol", __FILE__, __LINE__); + if (bytes < 0) fatal("%s:%u invalid utf8 encoding in symbol", __FILE__, __LINE__); if (ucs4_subsequent(ucs4)) { write_ucs4(ucs4); } else { @@ -177,7 +177,7 @@ int i = 0; while (i < n) { int bytes = cnvt_utf8_to_ucs4(utf8 + i, &cp); - if (bytes < 0) fatal("%s:%u invalid utf8 encodeing in symbol", __FILE__, __LINE__); + if (bytes < 0) fatal("%s:%u invalid utf8 encoding in symbol", __FILE__, __LINE__); if ((i == 0 && ucs4_constituent(cp)) || (i > 0 && ucs4_subsequent(cp))) { write_ucs4(cp); } else {
Original issue reported on code.google.com by tabe.fix...@gmail.com on 14 Aug 2009 at 4:03
tabe.fix...@gmail.com
Original issue reported on code.google.com by
tabe.fix...@gmail.com
on 14 Aug 2009 at 4:03