]> git.sur5r.net Git - cc65/commitdiff
A page length of zero wasn't accepted
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Aug 2003 21:45:49 +0000 (21:45 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 18 Aug 2003 21:45:49 +0000 (21:45 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2368 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/da65/infofile.c

index eef73cde14aada777e107ace5acc520da2085e75..8cf95fcaf83d916f2a815013044327d797e6c65e 100644 (file)
@@ -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;