summaryrefslogtreecommitdiff
path: root/games/gtkballs/files/patch-src__game.c
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-13 09:00:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-13 09:00:33 +0000
commit60790723aa53f556568dc712df9487229676d1be (patch)
tree4f5010a5b24877a553d5cd42d31972b7e5d5d380 /games/gtkballs/files/patch-src__game.c
parent- Add LICENSE (diff)
- Move highscores to /var/games
- Drop unneeded flags - Switch to options helpers - Regenerate patches - Fix binary permissings for highscores to properly work
Notes
Notes: svn path=/head/; revision=456199
Diffstat (limited to 'games/gtkballs/files/patch-src__game.c')
-rw-r--r--games/gtkballs/files/patch-src__game.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/gtkballs/files/patch-src__game.c b/games/gtkballs/files/patch-src__game.c
index e3bea5246afe..d1ff9d8d2b72 100644
--- a/games/gtkballs/files/patch-src__game.c
+++ b/games/gtkballs/files/patch-src__game.c
@@ -1,6 +1,6 @@
---- ./src/game.c.orig 2004-10-06 13:06:46.000000000 +0200
-+++ ./src/game.c 2014-03-30 20:05:17.338033553 +0200
-@@ -406,7 +406,8 @@
+--- src/game.c.orig 2004-10-06 11:06:46 UTC
++++ src/game.c
+@@ -406,7 +406,8 @@ gint game_destroy_lines(gboolean count_s
for(i = 1;
i < rules_get_width() - x &&
board_get_at_xy(x + i, y) == board_get_at_xy(x, y);
@@ -10,7 +10,7 @@
if(i >= rules_get_destroy()) {
have_del = 1;
for(j = 0; j < i; j ++) {
-@@ -419,7 +420,8 @@
+@@ -419,7 +420,8 @@ gint game_destroy_lines(gboolean count_s
for(i = 1;
i < rules_get_height() - y &&
board_get_at_xy(x, y + i) == board_get_at_xy(x, y);
@@ -20,7 +20,7 @@
if(i >= rules_get_destroy()) {
have_del = 1;
for(j = 0; j < i; j ++) {
-@@ -434,7 +436,8 @@
+@@ -434,7 +436,8 @@ gint game_destroy_lines(gboolean count_s
i < rules_get_width() - x &&
i < rules_get_height() - y &&
board_get_at_xy(x + i, y + i) == board_get_at_xy(x, y);
@@ -30,7 +30,7 @@
if(i >= rules_get_destroy()) {
have_del = 1;
for(j = 0; j < i; j ++) {
-@@ -449,7 +452,8 @@
+@@ -449,7 +452,8 @@ gint game_destroy_lines(gboolean count_s
i <= x &&
i < rules_get_height() - y &&
board_get_at_xy(x - i, y + i) == board_get_at_xy(x, y);
@@ -40,7 +40,7 @@
if(i >= rules_get_destroy()) {
have_del = 1;
for(j = 0; j < i; j ++) {
-@@ -495,8 +499,8 @@
+@@ -495,8 +499,8 @@ gint game_destroy_lines(gboolean count_s
lock_actions(1);
draw_board();
for(animtime = 0, i = 0; i < animcadres;) {