about summary refs log tree commit diff
path: root/cpetpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpetpet.c')
-rw-r--r--cpetpet.c4
1 files changed, 3 insertions, 1 deletions
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",