aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2010-10-02 16:08:03 +0000
committerSimon Ruderich <simon@ruderich.org>2010-10-02 16:08:03 +0000
commit87a8ed00f1b7fa9f9a4c5a38967b15b5fc269450 (patch)
tree25d9282edf393b8e394e98a7b67745a9f5134669
parentvim_mode: Move some functions. (diff)
downloadirssi-scripts-87a8ed00f1b7fa9f9a4c5a38967b15b5fc269450.tar.gz
irssi-scripts-87a8ed00f1b7fa9f9a4c5a38967b15b5fc269450.zip
vim_mode: Add missing (undef, undef) for clarity.
Diffstat (limited to '')
-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 cd47878..7bf6e28 100644
--- a/vim-mode/vim_mode.pl
+++ b/vim-mode/vim_mode.pl
@@ -482,7 +482,7 @@ sub cmd_movement_j {
if (Irssi::version < 20090117) {
# simulate a down-arrow
_emulate_keystrokes(0x1b, 0x5b, 0x42);
- return;
+ return (undef, undef);
}
my @history = Irssi::active_win->get_history_lines();
@@ -517,7 +517,7 @@ sub cmd_movement_k {
if (Irssi::version < 20090117) {
# simulate an up-arrow
_emulate_keystrokes(0x1b, 0x5b, 0x41);
- return;
+ return (undef, undef);
}
my @history = Irssi::active_win->get_history_lines();