[murrine/border-shade-and-expander] Seems more solid for big-endian systems



commit 7394d530eb78f95e680063d542c4ad89d88b8267
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Sep 16 01:51:44 2009 +0200

    Seems more solid for big-endian systems

 src/murrine_draw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_draw.c b/src/murrine_draw.c
index eece9a6..2b611de 100644
--- a/src/murrine_draw.c
+++ b/src/murrine_draw.c
@@ -515,7 +515,7 @@ murrine_draw_slider_handle (cairo_t *cr,
 		int tmp = height; height = width; width = tmp;
 	}
 
-	if (width&1)
+	if (width % 2 != 0)
 		num_handles = 3;
 	bar_x = width/2 - num_handles;
 



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