From: cuz Date: Mon, 18 Aug 2003 21:45:49 +0000 (+0000) Subject: A page length of zero wasn't accepted X-Git-Tag: V2.12.0~1375 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5890278a6941b040e4f54df08837e403b4d523b7;p=cc65 A page length of zero wasn't accepted git-svn-id: svn://svn.cc65.org/cc65/trunk@2368 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/da65/infofile.c b/src/da65/infofile.c index eef73cde1..8cf95fcaf 100644 --- a/src/da65/infofile.c +++ b/src/da65/infofile.c @@ -123,7 +123,7 @@ static void GlobalSection (void) case INFOTOK_PAGELENGTH: InfoNextTok (); InfoAssureInt (); - if (InfoIVal != -1) { + if (InfoIVal != 0) { InfoRangeCheck (MIN_PAGE_LEN, MAX_PAGE_LEN); } PageLength = InfoIVal;