Module Name:    src
Committed By:   simonb
Date:           Thu May 14 11:50:05 UTC 2020

Modified Files:
        src/lib/libcurses: getch.c

Log Message:
KNF nit.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/lib/libcurses/getch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libcurses/getch.c
diff -u src/lib/libcurses/getch.c:1.73 src/lib/libcurses/getch.c:1.74
--- src/lib/libcurses/getch.c:1.73	Sun Jun  9 07:40:14 2019
+++ src/lib/libcurses/getch.c	Thu May 14 11:50:04 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: getch.c,v 1.73 2019/06/09 07:40:14 blymn Exp $	*/
+/*	$NetBSD: getch.c,v 1.74 2020/05/14 11:50:04 simonb Exp $	*/
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)getch.c	8.2 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: getch.c,v 1.73 2019/06/09 07:40:14 blymn Exp $");
+__RCSID("$NetBSD: getch.c,v 1.74 2020/05/14 11:50:04 simonb Exp $");
 #endif
 #endif					/* not lint */
 
@@ -876,8 +876,7 @@ wgetch(WINDOW *win)
 	__save_termios();
 
 	if (win->flags & __KEYPAD) {
-		switch (win->delay)
-		{
+		switch (win->delay) {
 		case -1:
 			inp = inkey (win->flags & __NOTIMEOUT ? 0 : 1, 0);
 			break;
@@ -891,8 +890,7 @@ wgetch(WINDOW *win)
 			break;
 		}
 	} else {
-		switch (win->delay)
-		{
+		switch (win->delay) {
 		case -1:
 			if (__delay() == ERR)
 				return ERR;

Reply via email to