diff options
Diffstat (limited to 'vim-mode/vim_mode.pl')
-rw-r--r-- | vim-mode/vim_mode.pl | 4 |
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}"); } } } |