program_state moved to g.

This commit is contained in:
Bart House
2018-12-25 10:09:04 -08:00
parent ab73df996f
commit b1ab64db43
45 changed files with 130 additions and 132 deletions

View File

@@ -719,7 +719,7 @@ register int x, y;
if (g.in_mklev)
return;
#ifdef HANGUPHANDLING
if (program_state.done_hup)
if (g.program_state.done_hup)
return;
#endif
@@ -1561,7 +1561,7 @@ int cursor_on_u;
return; /* if already flushing then return */
flushing = 1;
#ifdef HANGUPHANDLING
if (program_state.done_hup)
if (g.program_state.done_hup)
return;
#endif