From c62db0de3887ee8027cb8457f56af383701fd260 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 3 Jul 2019 18:32:40 -0400 Subject: [PATCH] curses link fix in 3.7 --- win/curses/cursmesg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/curses/cursmesg.c b/win/curses/cursmesg.c index 95d56ae4d..c0f4ac218 100644 --- a/win/curses/cursmesg.c +++ b/win/curses/cursmesg.c @@ -887,7 +887,7 @@ boolean restoring_msghist; static int stash_count; static nhprev_mesg *stash_head = 0; #ifdef DUMPLOG - extern unsigned saved_pline_index; /* pline.c */ +/* extern unsigned g.saved_pline_index; */ /* pline.c */ #endif if (restoring_msghist && !initd) { @@ -900,7 +900,7 @@ boolean restoring_msghist; initd = TRUE; #ifdef DUMPLOG /* this suffices; there's no need to scrub saved_pline[] pointers */ - saved_pline_index = 0; + g.saved_pline_index = 0; #endif }