summary refs log tree commit diff stats
path: root/src/fe-gtk/xtext.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-01-19 13:10:54 -0800
committerTingPing <tingping@tingping.se>2013-01-19 13:10:54 -0800
commit8b49f5f78715bdc0f1a4fcdccc5a414dd6514096 (patch)
treec224e85b7ebb5a6c9854211dc7f11924a3ca2b0e /src/fe-gtk/xtext.c
parenta46f89998c4faa4b4768e18333ec98c5107ba90b (diff)
parent4e0daf047ed14e54ea7eeb2c1547cbe06332fbf4 (diff)
Merge pull request #383 from RichardHitt/warnings
Correct almost all compiler warning issues
Diffstat (limited to 'src/fe-gtk/xtext.c')
-rw-r--r--src/fe-gtk/xtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c
index e2dc2b7c..6005e265 100644
--- a/src/fe-gtk/xtext.c
+++ b/src/fe-gtk/xtext.c
@@ -3729,13 +3729,13 @@ static void
 shade_image (GdkVisual *visual, void *data, int bpl, int bpp, int w, int h,
 				 int rm, int gm, int bm, int bg, int depth)
 {
+#ifdef USE_MMX
 	int bg_r, bg_g, bg_b;
 
 	bg_r = bg & visual->red_mask;
 	bg_g = bg & visual->green_mask;
 	bg_b = bg & visual->blue_mask;
 
-#ifdef USE_MMX
 	/* the MMX routines are about 50% faster at 16-bit. */
 	/* only use MMX routines with a pure black background */
 	if (bg_r == 0 && bg_g == 0 && bg_b == 0 && have_mmx ())	/* do a runtime check too! */