Revert "topl.c globals moved to instance_globals."

This reverts commit b384223e1b.
This commit is contained in:
nhmall
2018-11-23 22:16:45 -05:00
parent 01bc4ab5e2
commit 44af1c78f3
6 changed files with 33 additions and 37 deletions
+4 -1
View File
@@ -648,6 +648,9 @@ boolean restoring_msghist;
{
static boolean initd = FALSE;
int idx;
#ifdef DUMPLOG
extern unsigned saved_pline_index; /* pline.c */
#endif
if (restoring_msghist && !initd) {
/* we're restoring history from the previous session, but new
@@ -659,7 +662,7 @@ boolean restoring_msghist;
initd = TRUE;
#ifdef DUMPLOG
/* this suffices; there's no need to scrub saved_pline[] pointers */
g.saved_pline_index = 0;
saved_pline_index = 0;
#endif
}