From 08be16aead4f98217dd7a4191c98a79dac83b366 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Thu, 30 Sep 2010 21:03:06 +0100 Subject: rename $window to avoid conflict in cmd_ex_command --- vim-mode/vim_mode.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim-mode/vim_mode.pl') 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}"); } } } -- cgit v1.2.3