[gnome-nibbles] Fix teleporters
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Fix teleporters
- Date: Sun, 5 Jan 2014 23:07:49 +0000 (UTC)
commit 1c88b68b3fbdee725f3006d82453d4f6050c69f8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Jan 5 09:58:41 2014 -0600
Fix teleporters
The teleporters became invisible due to an off-by-one introduced because
the index into our array of pixbufs for the teleporters is defined
separately from all the other indices. Fix the index and relocate its
definition.
https://bugzilla.gnome.org/show_bug.cgi?id=721580
src/bonus.h | 1 +
src/warp.h | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/bonus.h b/src/bonus.h
index 8f34191..e4c93af 100644
--- a/src/bonus.h
+++ b/src/bonus.h
@@ -31,6 +31,7 @@
#define BONUSREVERSE 4
#define BONUSCUT 5
#define BONUSSWITCH 6
+#define WARP 7
typedef struct {
gint x, y;
diff --git a/src/warp.h b/src/warp.h
index 19d1914..c0873af 100644
--- a/src/warp.h
+++ b/src/warp.h
@@ -23,7 +23,7 @@
#include <gtk/gtk.h>
#include <clutter/clutter.h>
-#define WARP 8
+#include "bonus.h"
typedef struct {
gint x, y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]