diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /lib/libncurses/lib_color.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'lib/libncurses/lib_color.c')
-rw-r--r-- | lib/libncurses/lib_color.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libncurses/lib_color.c b/lib/libncurses/lib_color.c index 17aaede..3d40a69 100644 --- a/lib/libncurses/lib_color.c +++ b/lib/libncurses/lib_color.c @@ -2,8 +2,8 @@ * details. If they are missing then this copy is in violation of * * the copyright conditions. */ -/* lib_color.c - * +/* lib_color.c + * * Handles color emulation of SYS V curses * */ @@ -63,15 +63,15 @@ int init_color(short color, short r, short g, short b) return ERR; if (hue_lightness_saturation == TRUE) if (r < 0 || r > 360 || g < 0 || g > 100 || b < 0 || b > 100) - return ERR; + return ERR; if (hue_lightness_saturation == FALSE) if (r < 0 || r > 1000 || g < 0 || g > 1000 || b < 0 || b > 1000) return ERR; - + putp(tparm(initialize_color, color, r, g, b)); return OK; } - + return ERR; } @@ -83,7 +83,7 @@ bool can_change_color() int has_colors() { return ((orig_pair != NULL) && (max_colors != -1) && (max_pairs != -1) - && + && (((set_foreground != NULL) && (set_background != NULL)) || ((set_a_foreground != NULL) && (set_a_background != NULL))) ); |