summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNomis101 <Nomis101@web.de>2016-06-13 09:27:53 -0700
committerNomis101 <Nomis101@web.de>2016-06-13 09:27:53 -0700
commit7beeed71274083d5c700a40f206939c3b38f56cf (patch)
tree64a02ba092d18686fd70b59a8f91365a16201cea
parent4d7af6eb10f07819fdd1628cddc598eab8d1e6d9 (diff)
downloadnspr-hg-7beeed71274083d5c700a40f206939c3b38f56cf.tar.gz
Bug 1279733: Fix two comment typos "imporve" in prprf.c.
r=wtc
-rw-r--r--pr/src/io/prprf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/io/prprf.c b/pr/src/io/prprf.c
index 798ea2a4..8475c771 100644
--- a/pr/src/io/prprf.c
+++ b/pr/src/io/prprf.c
@@ -461,7 +461,7 @@ static struct NumArg* BuildArgArray( const char *fmt, va_list ap, int* rv, struc
if( c == '%' ) continue;
cn = 0;
- while( c && c != '$' ){ /* should imporve error check later */
+ while( c && c != '$' ){ /* should improve error check later */
cn = cn*10 + c - '0';
c = *p++;
}
@@ -745,7 +745,7 @@ static int dosprintf(SprintfState *ss, const char *fmt, va_list ap)
if( nas != NULL ){
/* the fmt contains the Numbered Arguments feature */
i = 0;
- while( c && c != '$' ){ /* should imporve error check later */
+ while( c && c != '$' ){ /* should improve error check later */
i = ( i * 10 ) + ( c - '0' );
c = *fmt++;
}