1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11/qrash/files/patch-ao
Steve Price a08d0fc53f Adding qrash version 1.0
An animated musical demo for X11.

PR:		14554
Submitted by:	Trevor Johnson <trevor@jpj.net>
1999-12-27 02:24:30 +00:00

23 lines
501 B
Plaintext

--- 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;