aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2001-01-31 13:28:08 +0000
committerdrh <drh@noemail.net>2001-01-31 13:28:08 +0000
commit17a68934639270d14c9a93501a3337ec35eaaad3 (patch)
tree470a8708349035758dccc3e3c116aa78277c6e24 /src/printf.c
parentd1881e616578238ec49899dedfe6ca1b05e939d6 (diff)
downloadsqlite-17a68934639270d14c9a93501a3337ec35eaaad3.tar.gz
sqlite-17a68934639270d14c9a93501a3337ec35eaaad3.zip
Working better with Win95.
Continued work on the new db.c backend. (CVS 1714) FossilOrigin-Name: df0ff304855bd18c7a3517c500e891b6d006be6a
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/printf.c b/src/printf.c
index 3be48c9b7..b099523dc 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -46,7 +46,6 @@
** + All functions are fully reentrant.
**
*/
-#include <ctype.h>
#include "sqliteInt.h"
/*
@@ -262,7 +261,7 @@ static int vxprintf(
}
c = *++fmt;
}else{
- while( isdigit(c) ){
+ while( c>='0' && c<='9' ){
width = width*10 + c - '0';
c = *++fmt;
}
@@ -282,7 +281,7 @@ static int vxprintf(
#endif
c = *++fmt;
}else{
- while( isdigit(c) ){
+ while( c>='0' && c<='9' ){
precision = precision*10 + c - '0';
c = *++fmt;
}