From: Aurelien Aptel Date: Wed, 9 Mar 2016 14:25:26 +0000 (+0100) Subject: s3/utils/regedit.c: typo X-Git-Tag: tdb-1.3.9~465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=085b687768a1f10689ec371d4b9e771bfd3f4a07;p=thirdparty%2Fsamba.git s3/utils/regedit.c: typo loop should exit on any case of Q. Signed-off-by: Aurelien Aptel Reviewed-by: Jeremy Allison Reviewed-by: Uri Simchoni --- 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(); }