summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r--mbbsd/stuff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 95030ce6..9c0be5ed 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -414,7 +414,10 @@ show_file(const char *filename, int y, int lines, int mode)
clrtoln(lines + y);
if ((fp = fopen(filename, "r"))) {
while (fgets(buf, sizeof(buf), fp) && lines--)
+ {
+ move(y++, 0);
outs(Ptt_prints(buf, sizeof(buf), mode));
+ }
fclose(fp);
outs(ANSI_RESET); // prevent some broken Welcome file
} else