summaryrefslogtreecommitdiff
path: root/games/xlines/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'games/xlines/files/patch-ab')
-rw-r--r--games/xlines/files/patch-ab24
1 files changed, 21 insertions, 3 deletions
diff --git a/games/xlines/files/patch-ab b/games/xlines/files/patch-ab
index 2e74e16c0ffa..a5e11a51d8ce 100644
--- a/games/xlines/files/patch-ab
+++ b/games/xlines/files/patch-ab
@@ -1,11 +1,29 @@
---- lines.cpp.orig Sat Jan 17 18:11:13 1998
-+++ lines.cpp Fri Feb 13 23:57:07 1998
+--- lines.cpp.orig Sun Feb 2 01:23:47 2003
++++ lines.cpp Sun Feb 2 01:26:32 2003
+@@ -13,7 +13,7 @@
+ #include <stdlib.h>
+ #include <time.h>
+
+-QColor colors[]={red,darkBlue,green,yellow,darkCyan,darkMagenta};
++QColor colors[]={QColor("red"),QColor("darkBlue"),QColor("green"),QColor("yellow"),QColor("darkCyan"),QColor("darkMagenta")};
+ #define NOCOLOR -1
+ #define RED 0
+ #define BLUE 1
@@ -502,7 +502,7 @@
score->setGeometry(300,120,85,45);
curScore=0;
score->display(0);
- movie=new QMovie("trolltech.gif");
-+ movie=new QMovie("%%PREFIX%%/share/xlines/trolltech.gif");
++ movie=new QMovie("/usr/X11R6/share/xlines/trolltech.gif");
label=new QLabel(this,"label");
label->setFrameStyle(QFrame::Box|QFrame::Plain);
label->setMovie(*movie);
+@@ -523,7 +523,7 @@
+ {
+ }
+
+-void main(int argc,char *argv[])
++int main(int argc,char *argv[])
+ {
+ QApplication app(argc,argv);
+