aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-04 11:03:00 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-04 11:03:00 +0300
commit23c7a694db66364fff81edbf93bbd318016f43b2 (patch)
tree3ce4bb1373b65c5218b1af17df555e45f47b8d1d
parent2677d0b821b7fee5d79d408ed3cbdd7e9628cdb8 (diff)
downloadvideoteco-fork-23c7a694db66364fff81edbf93bbd318016f43b2.tar.gz
fixup fd12f39ce43fe465dac987f078355c77d1dbbb07: fixed some sloppy editing issues
It now compiles with -DDEBUG1 again (magic struct checks).
-rw-r--r--tecdebug.c6
-rw-r--r--tecdisp.c2
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;