summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);