b260432187
This was obviously not tested at all...! :-(
14 lines
390 B
Text
14 lines
390 B
Text
$NetBSD: patch-ak,v 1.2 2002/01/02 10:01:36 hubertf Exp $
|
|
|
|
--- winquake/vid_x.c.orig Tue Dec 21 18:40:22 1999
|
|
+++ winquake/vid_x.c Fri Jan 28 23:34:06 2000
|
|
@@ -711,6 +711,9 @@
|
|
void VID_Shutdown (void)
|
|
{
|
|
Con_Printf("VID_Shutdown\n");
|
|
+ /* if display hasn't been initialised, we don't have to close it */
|
|
+ if (!x_disp)
|
|
+ return;
|
|
XAutoRepeatOn(x_disp);
|
|
XCloseDisplay(x_disp);
|
|
}
|