1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 15:00:38 +00:00

Avoid additional new line at EOF

This commit is contained in:
Roland Heyder 2022-06-11 17:50:14 +02:00
parent 7d06ff2400
commit 6efdd43a2a

View file

@ -116,7 +116,7 @@ FUNCTION Wiki$ (PageName$) 'Read cached wiki page (download, if not yet cached)
a$ = "{{QBDLDATE:" + DATE$ + "}}" + CHR$(10) + "{{QBDLTIME:" + TIME$ + "}}" + CHR$(10) + a$
'--- now save it
OPEN outputFile$ FOR OUTPUT AS #fh
PRINT #fh, a$
PRINT #fh, a$;
CLOSE #fh
ELSE
'Delete page, if empty or corrupted (force re-download on next access)