summaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qrash/files/patch-ao')
-rw-r--r--x11/qrash/files/patch-ao22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/qrash/files/patch-ao b/x11/qrash/files/patch-ao
new file mode 100644
index 000000000000..d2f0dbc2c272
--- /dev/null
+++ b/x11/qrash/files/patch-ao
@@ -0,0 +1,22 @@
+--- brain.cc.orig Sun Dec 26 17:26:48 1999
++++ brain.cc Sun Dec 26 17:27:03 1999
+@@ -24,7 +24,7 @@
+ #include "music.h"
+ #include "lines.h"
+
+-const NX=6, NY=4;
++const int NX=6, NY=4;
+
+ class Brain: public Part {
+
+@@ -112,8 +112,8 @@
+ // vidSizeY *= 2; vidBytesPerLine /= 2;
+ // offset = vidBytesPerLine-offset;
+ // cage->Draw( 0, color, bw );
+- static c = 0;
+- static old_row = -1;
++ static int c = 0;
++ static int old_row = -1;
+ if( row/6 != old_row ) {
+ old_row = row/6;
+ c += 6;