diff options
author | Aurelien Aptel <aaptel@suse.com> | 2016-03-09 15:25:26 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-03-10 00:08:11 +0100 |
commit | 085b687768a1f10689ec371d4b9e771bfd3f4a07 (patch) | |
tree | 7d50fbd8d5d7eb53ff20305360972b099dcf081f | |
parent | f28014d81083e61537ea796f0dd9efa24154f5f6 (diff) | |
download | samba-085b687768a1f10689ec371d4b9e771bfd3f4a07.tar.gz |
s3/utils/regedit.c: typo
loop should exit on any case of Q.
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
-rw-r--r-- | source3/utils/regedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c index 21437f4ca1a..9db63b9e443 100644 --- a/source3/utils/regedit.c +++ b/source3/utils/regedit.c @@ -748,7 +748,7 @@ static void display_window(TALLOC_CTX *mem_ctx, struct registry_context *ctx) handle_main_input(regedit, key); update_panels(); doupdate(); - } while (key != 'q' || key == 'Q'); + } while (key != 'q' && key != 'Q'); endwin(); } |