fix a nastyness in shutdown code

This commit is contained in:
Bill Currie 2000-02-19 09:53:47 +00:00
parent a5c3e6519c
commit aa605d7d51
2 changed files with 2 additions and 0 deletions

View file

@ -89,6 +89,7 @@ void IN_Shutdown(void)
if (x_disp) {
XAutoRepeatOn(x_disp);
XCloseDisplay(x_disp);
x_disp = 0;
}
}

View file

@ -749,6 +749,7 @@ VID_Shutdown(void)
if (x_disp) {
XAutoRepeatOn(x_disp);
XCloseDisplay(x_disp);
x_disp = 0;
}
}