From b8d594e2785902731bd13f3fa4ef721bc4c6b475 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Tue, 20 Jan 2009 08:29:42 -0500 Subject: Fix bug where i was increased one too many times --- siv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3