From 083b9ba519fc89a0c2869a35e32fffa18ee9d78f Mon Sep 17 00:00:00 2001 From: Nomis101 Date: Sat, 11 Jun 2016 10:41:45 +0200 Subject: [PATCH] Bug 1279734 - "Fix two comment typos in nsTextFormatter.cpp". r=nfroyd --- xpcom/glue/nsTextFormatter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/glue/nsTextFormatter.cpp b/xpcom/glue/nsTextFormatter.cpp index 2821f5b0ddbb..57564a0b2b55 100644 --- a/xpcom/glue/nsTextFormatter.cpp +++ b/xpcom/glue/nsTextFormatter.cpp @@ -631,7 +631,7 @@ BuildArgArray(const char16_t* aFmt, va_list aAp, int* aRv, continue; } cn = 0; - /* should imporve error check later */ + /* should improve error check later */ while (c && c != '$') { cn = cn * 10 + c - '0'; c = *p++; @@ -881,7 +881,7 @@ dosprintf(SprintfState* aState, const char16_t* aFmt, va_list aAp) if (nas) { /* the aFmt contains the Numbered Arguments feature */ i = 0; - /* should imporve error check later */ + /* should improve error check later */ while (c && c != '$') { i = (i * 10) + (c - '0'); c = *aFmt++;