Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Fix comments on bkgdset() and friends to match...



details:   https://anonhg.NetBSD.org/src/rev/8b3792ae8e07
branches:  trunk
changeset: 445966:8b3792ae8e07
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Nov 18 20:26:29 2018 +0000

description:
Fix comments on bkgdset() and friends to match reality.

diffstat:

 lib/libcurses/background.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 0ffc2621e6bc -r 8b3792ae8e07 lib/libcurses/background.c
--- a/lib/libcurses/background.c        Sun Nov 18 20:23:18 2018 +0000
+++ b/lib/libcurses/background.c        Sun Nov 18 20:26:29 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: background.c,v 1.18 2018/11/18 18:52:29 uwe Exp $      */
+/*     $NetBSD: background.c,v 1.19 2018/11/18 20:26:29 uwe Exp $      */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: background.c,v 1.18 2018/11/18 18:52:29 uwe Exp $");
+__RCSID("$NetBSD: background.c,v 1.19 2018/11/18 20:26:29 uwe Exp $");
 #endif                         /* not lint */
 
 #include <stdlib.h>
@@ -50,7 +50,8 @@
 
 /*
  * bkgd --
- *     Set new background and new background attributes on stdscr.
+ *     Set new background attributes on stdscr and apply them to its
+ *     contents.
  */
 int
 bkgd(chtype ch)
@@ -60,7 +61,7 @@
 
 /*
  * wbkgdset
- *     Set new background attributes.
+ *     Set new background attributes on the specified window.
  */
 void
 wbkgdset(WINDOW *win, chtype ch)
@@ -82,7 +83,8 @@
 
 /*
  * wbkgd --
- *     Set new background and new background attributes.
+ *     Set new background attributes on the specified window and
+ *     apply them to its contents.
  */
 int
 wbkgd(WINDOW *win, chtype ch)



Home | Main Index | Thread Index | Old Index