Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses curses: spell "foreground" correctly in comments



details:   https://anonhg.NetBSD.org/src/rev/9a0997f15f6c
branches:  trunk
changeset: 1027714:9a0997f15f6c
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Dec 17 03:50:18 2021 +0000

description:
curses: spell "foreground" correctly in comments

diffstat:

 lib/libcurses/color.c   |  8 ++++----
 lib/libcurses/refresh.c |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 95947e92d86d -r 9a0997f15f6c lib/libcurses/color.c
--- a/lib/libcurses/color.c     Fri Dec 17 01:24:00 2021 +0000
+++ b/lib/libcurses/color.c     Fri Dec 17 03:50:18 2021 +0000
@@ -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 @@
            _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 @@
 {
        __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);
diff -r 95947e92d86d -r 9a0997f15f6c lib/libcurses/refresh.c
--- a/lib/libcurses/refresh.c   Fri Dec 17 01:24:00 2021 +0000
+++ b/lib/libcurses/refresh.c   Fri Dec 17 03:50:18 2021 +0000
@@ -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 @@
 }
 
 #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)



Home | Main Index | Thread Index | Old Index