mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +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:
parent
7a3e8ebe6d
commit
5890278a69
@ -123,7 +123,7 @@ static void GlobalSection (void)
|
|||||||
case INFOTOK_PAGELENGTH:
|
case INFOTOK_PAGELENGTH:
|
||||||
InfoNextTok ();
|
InfoNextTok ();
|
||||||
InfoAssureInt ();
|
InfoAssureInt ();
|
||||||
if (InfoIVal != -1) {
|
if (InfoIVal != 0) {
|
||||||
InfoRangeCheck (MIN_PAGE_LEN, MAX_PAGE_LEN);
|
InfoRangeCheck (MIN_PAGE_LEN, MAX_PAGE_LEN);
|
||||||
}
|
}
|
||||||
PageLength = InfoIVal;
|
PageLength = InfoIVal;
|
||||||
|
Loading…
Reference in New Issue
Block a user