summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-04-18 16:42:17 -0700
committerShawn <sabetts@juicebox>2008-04-18 16:42:17 -0700
commit9b98a448c43088603601e287794925039fd60429 (patch)
treebbf1e7c28c926f3db988461ec9fd647d60793be3
parentc2c4f2850606bb982350f0d7bae6b100a4d4a5de (diff)
downloadratpoison-9b98a448c43088603601e287794925039fd60429.zip
fix off by one bug in rpws
-rwxr-xr-xcontrib/rpws2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/rpws b/contrib/rpws
index 361e3d7..089e0a2 100755
--- a/contrib/rpws
+++ b/contrib/rpws
@@ -60,7 +60,7 @@ sub ws_init
rp_call( "only" );
my $i;
- for( my $i = 1; $i < $num; $i++ )
+ for my $i (1..$num)
{
ws_init_ws( $i );
}