=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/display.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- src/usr.bin/mg/display.c 2006/12/24 01:07:59 1.33 +++ src/usr.bin/mg/display.c 2007/03/29 17:37:15 1.34 @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.33 2006/12/24 01:07:59 kjell Exp $ */ +/* $OpenBSD: display.c,v 1.34 2007/03/29 17:37:15 kjell Exp $ */ /* This file is in the public domain. */ @@ -106,6 +106,9 @@ #endif /* !LINENOMODE */ static int linenos = LINENOMODE; +/* Is macro recording enabled? */ +extern int macrodef; + /* * Since we don't have variables (we probably should) this is a command * processor for changing the value of the line number mode flag. @@ -823,6 +826,9 @@ vtputc('-'); ++n; } + /* XXX This should eventually move to a real mode */ + if (macrodef == TRUE) + n += vtputs("-def"); vtputc(')'); ++n;