From: cuz Date: Fri, 10 Sep 2004 09:55:55 +0000 (+0000) Subject: Fixed a typo X-Git-Tag: V2.12.0~656 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=684010abf10a747b08005766045e7e18ef82891b;p=cc65 Fixed a typo git-svn-id: svn://svn.cc65.org/cc65/trunk@3178 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/chartype.c b/src/common/chartype.c index a16fe03e1..a48688e77 100644 --- a/src/common/chartype.c +++ b/src/common/chartype.c @@ -129,7 +129,7 @@ int IsBDigit (char C) int IsODigit (char C) /* Check for octal digits (0..7) */ { - return (C >= '0' || C <= '7'); + return (C >= '0' && C <= '7'); }