From 84a7f88da195e4859839638a3eaba68a64cf732d Mon Sep 17 00:00:00 2001 From: Moritz Luedecke Date: Mon, 11 Sep 2017 09:29:03 +0200 Subject: Fix indentation --- pinentry-dmenu.c | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pinentry-dmenu.c b/pinentry-dmenu.c index 9004a3e..8538878 100644 --- a/pinentry-dmenu.c +++ b/pinentry-dmenu.c @@ -373,31 +373,31 @@ keypress_confirm(XKeyEvent *ev, KeySym ksym) { } switch(ksym) { - case XK_KP_Enter: - case XK_Return: - if (sel != Nothing) { - return 1; - } - break; - case XK_y: - case XK_Y: - sel = Yes; - return 1; - case XK_n: - case XK_N: - sel = No; - return 1; - case XK_Escape: - pinentry->canceled = 1; - sel = No; + case XK_KP_Enter: + case XK_Return: + if (sel != Nothing) { return 1; - case XK_Left: - sel = No; - break; - case XK_Right: - sel = Yes; - break; } + break; + case XK_y: + case XK_Y: + sel = Yes; + return 1; + case XK_n: + case XK_N: + sel = No; + return 1; + case XK_Escape: + pinentry->canceled = 1; + sel = No; + return 1; + case XK_Left: + sel = No; + break; + case XK_Right: + sel = Yes; + break; + } return 0; } -- cgit v1.2.3