about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--cpetpet.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index b6b0736..a805827 100755
--- a/configure
+++ b/configure
@@ -36,7 +36,6 @@ echo "
 #define __CONFIG_H__
 
 #define SHAREDIR \"$DESTDIR/share/cpetpet\"
-#define FRAMES 10
 
 #endif
 " > config.h
diff --git a/cpetpet.c b/cpetpet.c
index fe6234b..d106c8e 100644
--- a/cpetpet.c
+++ b/cpetpet.c
@@ -11,7 +11,9 @@
 #include "config.h"
 
 
-static char *gifs[] = {
+#define FRAMES 10
+
+static char *gifs[FRAMES] = {
     SHAREDIR "/pet0.gif",
     SHAREDIR "/pet1.gif",
     SHAREDIR "/pet2.gif",