1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-21 20:29:24 +00:00

A page length of zero wasn't accepted

git-svn-id: svn://svn.cc65.org/cc65/trunk@2368 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-18 21:45:49 +00:00
parent 7a3e8ebe6d
commit 5890278a69

View 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;