This commit is contained in:
peterv%propagandism.org 2006-03-16 13:49:53 +00:00
Родитель 344498aa4e
Коммит 0d0571e8db
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -165,7 +165,7 @@ int MOZ_XMLTranslateEntity(const char* ptr, const char* end, const char** next,
if (tok == XML_TOK_CHAR_REF) {
int n = XmlCharRefNumber(enc, ptr);
// We could get away with just < 0, but better safe than sorry.
/* We could get away with just < 0, but better safe than sorry. */
if (n <= 0) {
return 0;
}
@ -174,8 +174,8 @@ int MOZ_XMLTranslateEntity(const char* ptr, const char* end, const char** next,
}
if (tok == XML_TOK_ENTITY_REF) {
// *next points to after the semicolon, so the entity ends at
// *next - enc->minBytesPerChar.
/* *next points to after the semicolon, so the entity ends at
*next - enc->minBytesPerChar. */
XML_Char ch =
(XML_Char)XmlPredefinedEntityName(enc, ptr, *next - enc->minBytesPerChar);
if (!ch) {