From 388781a5264266e99822ab50b8818cb3ec744a0f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 24 Jan 2003 21:41:08 +0000 Subject: silence warning --- progs/demos/texenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/demos') diff --git a/progs/demos/texenv.c b/progs/demos/texenv.c index 4c26008136a..705cd2621f9 100644 --- a/progs/demos/texenv.c +++ b/progs/demos/texenv.c @@ -271,7 +271,7 @@ static void keyboard( unsigned char c, int x, int y ) { switch ( c ) { case 'c': - envColor = ++envColor % (int) NUM_ENV_COLORS; + envColor = (++envColor) % (int) NUM_ENV_COLORS; break; case 'g': drawBackground = !drawBackground; -- cgit v1.2.3