diff options
author | Shawn <sabetts@juicebox> | 2008-04-18 16:42:17 -0700 |
---|---|---|
committer | Shawn <sabetts@juicebox> | 2008-04-18 16:42:17 -0700 |
commit | 9b98a448c43088603601e287794925039fd60429 (patch) | |
tree | bbf1e7c28c926f3db988461ec9fd647d60793be3 | |
parent | c2c4f2850606bb982350f0d7bae6b100a4d4a5de (diff) | |
download | ratpoison-9b98a448c43088603601e287794925039fd60429.zip |
fix off by one bug in rpws
-rwxr-xr-x | contrib/rpws | 2 |
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 ); } |