summaryrefslogtreecommitdiffstats
path: root/wince/Makefile.sub
diff options
context:
space:
mode:
authoruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-31 13:36:19 +0000
committeruema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-31 13:36:19 +0000
commitf8a3e3931c7f199d5616b80171ea4b6d3cc5ee27 (patch)
tree20218bc83e8a04725314349d26f03442a8991ec1 /wince/Makefile.sub
parent826549a68378fcab51e4b30435623951226916f8 (diff)
downloadruby-f8a3e3931c7f199d5616b80171ea4b6d3cc5ee27.tar.gz
ruby-f8a3e3931c7f199d5616b80171ea4b6d3cc5ee27.tar.xz
ruby-f8a3e3931c7f199d5616b80171ea4b6d3cc5ee27.zip
* wince/string_wce.c (strrchr): should decrement pointer.
* wince/Makefile.sub: correct a range of isdigit(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/Makefile.sub')
-rw-r--r--wince/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index f77e31cc6..905c47930 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -313,7 +313,7 @@ $(BANG)endif
#if _WIN32_WCE < 300
#define isascii(c) ( (c>=0x00&&c<=0x7f)?1:0 )
#define isspace(c) ( ((c>=0x09&&c<=0x0d)||c==0x20)?1:0 )
- #define isdigit(c) ( (c>=0x00&&c<=0x09)?1:0 )
+ #define isdigit(c) ( (c>=0x30&&c<=0x39)?1:0 )
#define isupper(c) ( (c>='A'&&c<='Z')?1:0 )
#define isalpha(c) ( ((c>='A'&&c<='Z')||(c>='a'&&c<='z'))?1:0 )
#define isprint(c) ( (c>=0x20&&c<=0x7e)?1:0 )