Module Name: src Committed By: uwe Date: Fri Dec 17 03:50:18 UTC 2021
Modified Files: src/lib/libcurses: color.c refresh.c Log Message: curses: spell "foreground" correctly in comments To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/lib/libcurses/color.c cvs rdiff -u -r1.116 -r1.117 src/lib/libcurses/refresh.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/color.c diff -u src/lib/libcurses/color.c:1.44 src/lib/libcurses/color.c:1.45 --- src/lib/libcurses/color.c:1.44 Mon Sep 6 07:45:48 2021 +++ src/lib/libcurses/color.c Fri Dec 17 03:50:18 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: color.c,v 1.44 2021/09/06 07:45:48 rin Exp $ */ +/* $NetBSD: color.c,v 1.45 2021/12/17 03:50:18 uwe Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: color.c,v 1.44 2021/09/06 07:45:48 rin Exp $"); +__RCSID("$NetBSD: color.c,v 1.45 2021/12/17 03:50:18 uwe Exp $"); #endif /* not lint */ #include "curses.h" @@ -536,7 +536,7 @@ __set_color( /*ARGSUSED*/ WINDOW *win, a _cursesi_screen->colour_pairs[pair].fore, _cursesi_screen->colour_pairs[pair].back); switch (_cursesi_screen->color_type) { - /* Set ANSI forground and background colours */ + /* Set ANSI foreground and background colours */ case COLOR_ANSI: if (_cursesi_screen->colour_pairs[pair].fore < 0 || _cursesi_screen->colour_pairs[pair].back < 0) @@ -583,7 +583,7 @@ __unset_color(WINDOW *win) { __CTRACE(__CTRACE_COLOR, "__unset_color\n"); switch (_cursesi_screen->color_type) { - /* Clear ANSI forground and background colours */ + /* Clear ANSI foreground and background colours */ case COLOR_ANSI: if (orig_pair != NULL) { tputs(orig_pair, 0, __cputchar); Index: src/lib/libcurses/refresh.c diff -u src/lib/libcurses/refresh.c:1.116 src/lib/libcurses/refresh.c:1.117 --- src/lib/libcurses/refresh.c:1.116 Tue Sep 7 01:23:09 2021 +++ src/lib/libcurses/refresh.c Fri Dec 17 03:50:18 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: refresh.c,v 1.116 2021/09/07 01:23:09 rin Exp $ */ +/* $NetBSD: refresh.c,v 1.117 2021/12/17 03:50:18 uwe Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94"; #else -__RCSID("$NetBSD: refresh.c,v 1.116 2021/09/07 01:23:09 rin Exp $"); +__RCSID("$NetBSD: refresh.c,v 1.117 2021/12/17 03:50:18 uwe Exp $"); #endif #endif /* not lint */ @@ -1916,7 +1916,7 @@ __unsetattr(int checkms) } #ifdef HAVE_WCHAR -/* compare two cells on screen, must have the same forground/background, +/* compare two cells on screen, must have the same foreground/background, * and the same sequence of non-spacing characters */ static int celleq(__LDATA *x, __LDATA *y)