Fixed a few warnings

git-svn-id: svn://svn.cc65.org/cc65/trunk@938 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-15 13:36:59 +00:00
parent 7c67a35771
commit 1a65e30fa0
15 changed files with 27 additions and 28 deletions

View File

@@ -138,7 +138,7 @@ void Indent (unsigned N)
void LineFeed (void)
/* Add a linefeed to the output file */
{
if (Pass == PassCount) {
if (Pass == PassCount && PageLength > 0) {
fputc ('\n', F);
if (++Line >= PageLength) {
if (FormFeeds) {