bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 005/177] man/*.3x: Fix English style nit.


From: G. Branden Robinson
Subject: [PATCH 005/177] man/*.3x: Fix English style nit.
Date: Mon, 13 Jan 2025 11:14:26 -0600

Say "check whether", not "check if".

Authorities:

- https://www.merriam-webster.com/grammar/if-vs-whether-difference-usage
- https://dictionary.cambridge.org/us/grammar/british-grammar/if-or-whether
- https://byjus.com/english/difference-between-if-and-whether/
---
 man/curs_bkgd.3x   | 2 +-
 man/curs_bkgrnd.3x | 2 +-
 man/curs_util.3x   | 2 +-
 man/new_pair.3x    | 6 ++++--
 4 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/man/curs_bkgd.3x b/man/curs_bkgd.3x
index 6b5c8e38b..d82a067d7 100644
--- a/man/curs_bkgd.3x
+++ b/man/curs_bkgd.3x
@@ -126,7 +126,7 @@ .SS "bkgd, wbkgd"
 writes the new background character to the cell.
 .bP
 .I \%ncurses
-then checks if the cell uses color;
+then checks whether the cell uses color;
 that is,
 its color pair value is nonzero.
 If not,
diff --git a/man/curs_bkgrnd.3x b/man/curs_bkgrnd.3x
index 38f428f82..6e70bab29 100644
--- a/man/curs_bkgrnd.3x
+++ b/man/curs_bkgrnd.3x
@@ -128,7 +128,7 @@ .SS "bkgrnd, wbkgrnd"
 writes the new background character to the cell.
 .bP
 .I \%ncurses
-then checks if the cell uses color;
+then checks whether the cell uses color;
 that is,
 its color pair value is nonzero.
 If not,
diff --git a/man/curs_util.3x b/man/curs_util.3x
index e34b76350..bc477fa40 100644
--- a/man/curs_util.3x
+++ b/man/curs_util.3x
@@ -213,7 +213,7 @@ .SS use_tioctl
 \fI\%ncurses\fP modifies the last step in its computation
 of screen size as follows:
 .bP
-checks if the \fILINES\fP and \fI\%COLUMNS\fP environment variables
+checks whether the \fILINES\fP and \fI\%COLUMNS\fP environment variables
 are set to a number greater than zero.
 .bP
 for each,
diff --git a/man/new_pair.3x b/man/new_pair.3x
index 5e844bf8f..123ef8d39 100644
--- a/man/new_pair.3x
+++ b/man/new_pair.3x
@@ -115,7 +115,8 @@ .SH DESCRIPTION
 .SS alloc_pair
 The \fBalloc_pair\fP function accepts parameters for
 foreground and background color, and
-checks if that color combination is already associated with a color pair.
+checks whether that color combination
+is already associated with a color pair.
 .bP
 If the combination already exists,
 \fBalloc_pair\fP returns the existing pair.
@@ -135,7 +136,8 @@ .SS alloc_pair
 .SS find_pair
 The \fBfind_pair\fP function accepts parameters for
 foreground and background color, and
-checks if that color combination is already associated with a color pair,
+checks whether that color combination
+is already associated with a color pair,
 returning the pair number if it has been allocated.
 Otherwise it returns \-1.
 .SS free_pair
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]