aboutsummaryrefslogtreecommitdiff
path: root/src/whirligig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/whirligig.c')
-rw-r--r--src/whirligig.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/whirligig.c b/src/whirligig.c
index 546301ba..611825ba 100644
--- a/src/whirligig.c
+++ b/src/whirligig.c
@@ -403,8 +403,6 @@ static void connect_series(struct window *win)
{
while ( win->join_ptr < win->ws ) {
- int i;
-
if ( win->join_ptr == 0 ) {
win->join_ptr++;
continue;
@@ -415,6 +413,7 @@ static void connect_series(struct window *win)
/* Try to join this frame to each of the active series */
if ( win->join_ptr > 1 ) {
+ int i;
for ( i=0; i<MAX_SER; i++ ) {
if ( win->ser[i][win->join_ptr-1] != -1 ) {
try_join(win, i);