From 034892d5a82ee77aa8137075bb455e3af4079b76 Mon Sep 17 00:00:00 2001 From: cohrs Date: Tue, 9 Jul 2002 04:09:09 +0000 Subject: [PATCH] NO_TERMS bug From a bug report, a missing check for defined(NO_TERMS) in pcsys.c would result in a link time error. --- doc/fixes34.1 | 1 + sys/share/pcsys.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 765e13e09..406583341 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -177,6 +177,7 @@ Gnome: Dylan Alex Simon's port of KDE-style worn window Gnome: Dylan Alex Simon's port of KDE-style hero cursor color tty: support terms where turning off inverse video turns off color too Gnome/Linux: more portable getres*id workaround +msdos: compiling without NO_TERMS resulted in a link-time error General New Features diff --git a/sys/share/pcsys.c b/sys/share/pcsys.c index 78d760585..38a4c0724 100644 --- a/sys/share/pcsys.c +++ b/sys/share/pcsys.c @@ -408,7 +408,7 @@ void msmsg VA_DECL(const char *, fmt) VA_START(fmt); VA_INIT(fmt, const char *); -# if defined(MSDOS) +# if defined(MSDOS) && defined(NO_TERMS) if (iflags.grmode) gr_finish(); # endif