1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11/qrash/files/patch-an

38 lines
845 B
Plaintext
Raw Normal View History

--- abstract.cc.orig Sun Dec 26 17:25:53 1999
+++ abstract.cc Sun Dec 26 17:26:20 1999
@@ -26,7 +26,7 @@
#include "parts.h"
#include "common.h"
-const N_FIG=9, N_PHASES=4;
+const int N_FIG=9, N_PHASES=4;
struct Abstract: public Part {
TPoly2D* fig_phases[N_PHASES][N_FIG];
@@ -77,7 +77,7 @@
// if( !what ) return;
- static phase = 0;
+ static int phase = 0;
static bool phase_done = true;
TPoly2D* fig[N_FIG];
for( i=0; i<N_FIG; i++ ) {
@@ -111,14 +111,14 @@
phase_done = true;
}
}
- static scale_timer = 0;
+ static int scale_timer = 0;
static int old_order = 0;
static int next_row = 5;
if( old_order != order ) {
old_order = order;
next_row = 7;
}
- static color_offset = 10;
+ static int color_offset = 10;
switch( what ) {
case 0: {
if( row >= next_row ) {