summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2005-04-25 19:37:23 +0000
committerMichael Jennings <mej@kainx.org>2005-04-25 19:37:23 +0000
commit302d5b736306f0a5b18e1e906b98b00708c67871 (patch)
tree344ea7692a2c18ef0d07479e8379539ea198ea56 /src/screen.c
parent5e636b70671361fbc274b9b8ead16c9c17d471ef (diff)
downloadeterm-302d5b736306f0a5b18e1e906b98b00708c67871.tar.gz
Mon Apr 25 15:34:49 2005 Michael Jennings (mej)
Added --enable-escreen-fx flag to ./configure to enable/disable the Escreen startup effects (bosconian, matrix, etc.). Fixed some warnings. ---------------------------------------------------------------------- SVN revision: 14359
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 75ea89b..445b180 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -491,7 +491,7 @@ scr_color(unsigned int color, unsigned int Intensity)
break;
}
} else {
- if ((rstyle & Intensity) && (color >= minColor) && (color <= maxColor)) {
+ if ((rstyle & Intensity) && ((int) color >= minColor) && (color <= maxColor)) {
switch (Intensity) {
case RS_Bold:
if (BITFIELD_IS_SET(vt_options, VT_OPTIONS_BOLD_BRIGHTENS_FOREGROUND)) {