diff options
author | C. Davis <cd.rattan@gmail.com> | 2012-07-26 01:56:31 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-29 13:05:55 +0200 |
commit | 4267ec59feca258792e62aa2525b246599478fa8 (patch) | |
tree | 713a702947851cf10e9e99caac473e4286591418 /source3/utils | |
parent | 19b9a7063be9a0f74e7bb350542f9665e8ac060b (diff) | |
download | samba-4267ec59feca258792e62aa2525b246599478fa8.tar.gz samba-4267ec59feca258792e62aa2525b246599478fa8.tar.bz2 samba-4267ec59feca258792e62aa2525b246599478fa8.zip |
regedit: Take into account that getch() may return a '\n' instead of KEY_ENTER.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/regedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c index 067f3c9aac..6f239bdc56 100644 --- a/source3/utils/regedit.c +++ b/source3/utils/regedit.c @@ -90,6 +90,7 @@ static void handle_tree_input(struct tree_view *view, struct value_list *vl, node = item_userptr(current_item(view->menu)); value_list_load(vl, node->key); break; + case '\n': case KEY_ENTER: case KEY_RIGHT: node = item_userptr(current_item(view->menu)); |