From fd088839dfc7a04dd5f62029baffd98e404cfdd3 Mon Sep 17 00:00:00 2001 From: filon Date: Sun, 2 Dec 2001 18:57:52 +0000 Subject: [PATCH] - fixes broken x11-shm build, by me Changed files: Atari800-shm_fix.patch -> 1.1 --- Atari800-shm_fix.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Atari800-shm_fix.patch diff --git a/Atari800-shm_fix.patch b/Atari800-shm_fix.patch new file mode 100644 index 0000000..ead1a94 --- /dev/null +++ b/Atari800-shm_fix.patch @@ -0,0 +1,14 @@ +diff -urN Atari800/src/atari_x11.c Atari800-shm/src/atari_x11.c +--- Atari800/src/atari_x11.c Sun Nov 11 16:39:09 2001 ++++ Atari800-shm/src/atari_x11.c Sun Dec 2 19:19:29 2001 +@@ -2605,8 +2605,8 @@ + first_y = ATARI_HEIGHT; + last_y = -1000; + +- if( invisible || !draw_display ) goto after_screen_update; /* mmm */ +- if(image->bits_per_pixel == 32) ++ if (invisible) goto after_screen_update; /* mmm */ ++ if (image->bits_per_pixel == 32) + { + ULONG *ptr = (ULONG *) image->data; + UBYTE *ptr2 = screen; -- 2.44.0