[murrine] Seems more solid for big-endian systems



commit 1065c1f08bf1ed7aeaab05c2890f53f789c8a4de
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]