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-al
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
641 B
Plaintext

--- crash.cc.orig Sun Dec 26 17:24:37 1999
+++ crash.cc Sun Dec 26 17:24:56 1999
@@ -109,7 +109,7 @@
{ { 1, partText, 1, 2 }, { 0, 0, 0, 0 } }, // 60
{ { 1, foo, 0, 0 }, { 0, 0, 0, 0 } } // 61
};
- const N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
+ const int N_PARTS = sizeof(parts)/2/sizeof(PartDesc);
// sysRegisterKeyboardHandler( &handler ); doesn't work anymore
@@ -195,8 +195,8 @@
musSetVolume( 100-row*100/64 );
}
if( skip ) {
- static first = true;
- static skip_order = 0;
+ static int first = true;
+ static int skip_order = 0;
if( first ) {
skip_order = order;
first = false;