summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87ab0f7)
raw | patch | inline | side by side (parent: 87ab0f7)
author | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 12:50:57 +0000 (14:50 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 12:50:57 +0000 (14:50 +0200) |
src/screen_keydef.c | patch | blob | history |
diff --git a/src/screen_keydef.c b/src/screen_keydef.c
index 44e08384e5165a4aaa4f0f6314647800e06f58c4..3261bc936d52226f8d069fcc8cea06af97377879 100644 (file)
--- a/src/screen_keydef.c
+++ b/src/screen_keydef.c
save_keys();
} else {
subcmd = lw->selected;
- lw->selected=0;
- lw->selected_start = lw->selected;
- lw->selected_end = lw->selected;
+ list_window_reset(lw);
check_subcmd_length();
keydef_repaint();