should fix the seg on ^C early in the startup

This commit is contained in:
Bill Currie 2004-02-14 07:53:49 +00:00
parent d35f027757
commit 64c156653f

View file

@ -647,7 +647,7 @@ IN_LL_Shutdown (void)
XAutoRepeatOn (x_disp);
dga_off ();
}
if (!in_mouse_accel->int_val)
if (in_mouse_accel && !in_mouse_accel->int_val)
X11_RestoreMouseAcceleration();
X11_CloseDisplay ();
}