Module Name:    src
Committed By:   christos
Date:           Wed Dec 25 15:35:29 UTC 2024

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

Log Message:
make it compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libcurses/border.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/border.c
diff -u src/lib/libcurses/border.c:1.25 src/lib/libcurses/border.c:1.26
--- src/lib/libcurses/border.c:1.25	Sun Dec 22 21:58:03 2024
+++ src/lib/libcurses/border.c	Wed Dec 25 10:35:29 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: border.c,v 1.25 2024/12/23 02:58:03 blymn Exp $	*/
+/*	$NetBSD: border.c,v 1.26 2024/12/25 15:35:29 christos Exp $	*/
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: border.c,v 1.25 2024/12/23 02:58:03 blymn Exp $");
+__RCSID("$NetBSD: border.c,v 1.26 2024/12/25 15:35:29 christos Exp $");
 #endif				/* not lint */
 
 #include <stdlib.h>
@@ -71,7 +71,7 @@ wborder(WINDOW *win, chtype left, chtype
 	__LDATA	*fp, *lp;
 
 	if (__predict_false(win == NULL))
-		return;
+		return ERR;
 
 	if (!(left & __CHARTEXT))
 		left |= ACS_VLINE;

Reply via email to