Commit: 84a7f88da195e4859839638a3eaba68a64cf732d Parent: f4c911ee19ef99f1f86c30f29c240604b18b2c4c Author: Moritz Luedecke Date: Mon, 11 Sep 2017 09:29:03 +0200 Fix indentation Diffstat:
M | pinentry-dmenu.c | | | 46 | +++++++++++++++++++++++----------------------- |
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git 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; }