summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2009-01-20 08:29:42 -0500
committerSøren Sandmann Pedersen <sandmann@redhat.com>2009-01-20 08:29:42 -0500
commitb8d594e2785902731bd13f3fa4ef721bc4c6b475 (patch)
treebc2794b6aea27839ba7379428d7862334b7b7643
parent5691afa4c557a1246839c223158462ebbba49a8c (diff)
Fix bug where i was increased one too many times
-rw-r--r--siv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/siv.c b/siv.c
index 33c1136..09c50f6 100644
--- a/siv.c
+++ b/siv.c
@@ -385,7 +385,7 @@ app_new (int argc, char **argv)
char *filename = filenames[i];
/* Don't open more than 32 windows */
- if (++i > 32)
+ if (i > 32)
break;
window = window_new (app);