aboutsummaryrefslogtreecommitdiffstats
path: root/vim-mode/vim_mode.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-09-30 20:03:06 +0000
committerTom Feist <shabble@metavore.org>2010-09-30 20:03:06 +0000
commit08be16aead4f98217dd7a4191c98a79dac83b366 (patch)
treeaa853c53c77c3c3722489987c162b2f11bdfd2d8 /vim-mode/vim_mode.pl
parentfixed comment urls to point at irssi-scripts/ as they should (diff)
downloadirssi-scripts-08be16aead4f98217dd7a4191c98a79dac83b366.tar.gz
irssi-scripts-08be16aead4f98217dd7a4191c98a79dac83b366.zip
rename $window to avoid conflict in cmd_ex_command
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r--vim-mode/vim_mode.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl
index e7c39d8..c4c4740 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -895,10 +895,10 @@ sub cmd_ex_command {
} else {
@regs = keys %$registers;
}
- my $window = Irssi::active_win;
+ my $active_window = Irssi::active_win;
foreach my $key (sort @regs) {
if (defined $registers->{$key}) {
- $window->print("register $key: $registers->{$key}");
+ $active_window->print("register $key: $registers->{$key}");
}
}
}