Bug 1279734 - "Fix two comment typos in nsTextFormatter.cpp". r=nfroyd

This commit is contained in:
Nomis101 2016-06-11 10:41:45 +02:00
parent a7159d9c6b
commit 083b9ba519

View File

@ -631,7 +631,7 @@ BuildArgArray(const char16_t* aFmt, va_list aAp, int* aRv,
continue; continue;
} }
cn = 0; cn = 0;
/* should imporve error check later */ /* should improve error check later */
while (c && c != '$') { while (c && c != '$') {
cn = cn * 10 + c - '0'; cn = cn * 10 + c - '0';
c = *p++; c = *p++;
@ -881,7 +881,7 @@ dosprintf(SprintfState* aState, const char16_t* aFmt, va_list aAp)
if (nas) { if (nas) {
/* the aFmt contains the Numbered Arguments feature */ /* the aFmt contains the Numbered Arguments feature */
i = 0; i = 0;
/* should imporve error check later */ /* should improve error check later */
while (c && c != '$') { while (c && c != '$') {
i = (i * 10) + (c - '0'); i = (i * 10) + (c - '0');
c = *aFmt++; c = *aFmt++;