mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 1279734 - "Fix two comment typos in nsTextFormatter.cpp". r=nfroyd
This commit is contained in:
parent
a7159d9c6b
commit
083b9ba519
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user