summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2016-03-09 15:25:26 +0100
committerJeremy Allison <jra@samba.org>2016-03-10 00:08:11 +0100
commit085b687768a1f10689ec371d4b9e771bfd3f4a07 (patch)
tree7d50fbd8d5d7eb53ff20305360972b099dcf081f /source3/utils
parentf28014d81083e61537ea796f0dd9efa24154f5f6 (diff)
downloadsamba-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>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/regedit.c2
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();
}