diff options
author | B. Watson <urchlay@slackware.uk> | 2025-02-28 21:28:08 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-02-28 21:28:08 -0500 |
commit | fd2292b20eee9c36179c143e21861ac0d403cb36 (patch) | |
tree | 72eff19e9f98480dc20e19ba135b9e7eebf5e8d6 | |
parent | 9730a28fa224048914a61c869d06a34ef1dc497e (diff) | |
download | bw-atari8-tools-fd2292b20eee9c36179c143e21861ac0d403cb36.tar.gz |
listamsb: print initial EOL before the listing, to match what AMSB does.
-rw-r--r-- | listamsb.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -599,6 +599,9 @@ int main(int argc, char **argv) { exit(0); /* don't need finish() here, no parsing done */ } + /* AMSB always prints a blank line when it LISTs, so we do too. */ + fputc(EOL, outfile); + while(next_line()) linecount++; |