From 23c7a694db66364fff81edbf93bbd318016f43b2 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 4 May 2025 11:03:00 +0300 Subject: fixup fd12f39ce43fe465dac987f078355c77d1dbbb07: fixed some sloppy editing issues It now compiles with -DDEBUG1 again (magic struct checks). --- tecdebug.c | 6 +++--- tecdisp.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tecdebug.c b/tecdebug.c index 8553ac3..eb175f6 100644 --- a/tecdebug.c +++ b/tecdebug.c @@ -105,7 +105,7 @@ register struct screen_line *sbp; * the correct magic number. */ void -__magic() +tecdebug_check_buffer_magic() { register struct buff_header *bp; register char saw_curbuf; @@ -165,7 +165,7 @@ register int count; * the correct magic number. */ void -__magic() +tecdebug_check_line_magic() { register struct buff_header *bp; register struct buff_line *lbp; @@ -226,7 +226,7 @@ register int count; * the correct magic number. */ void -__magic() +tecdebug_check_format_magic() { register struct format_line *fp; register int count; diff --git a/tecdisp.c b/tecdisp.c index 851ebc3..bdc96a5 100644 --- a/tecdisp.c +++ b/tecdisp.c @@ -231,7 +231,7 @@ register short *sp; message_line.fmt_permanent = 1; message_line.fmt_saved_line = lp; - MAGIC_UPDATE(&magic_line, MAGIC_FORMAT_LOOKASIDE); + MAGIC_UPDATE(&message_line, MAGIC_FORMAT_LOOKASIDE); lp->companion = &message_line; lp += 1; -- cgit v1.2.3