Added text tables

git-svn-id: svn://svn.cc65.org/cc65/trunk@941 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-16 18:16:09 +00:00
parent 308785487f
commit 0f4acb37c6
7 changed files with 93 additions and 3 deletions

View File

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