[murrine] Minor change



commit 0e0668c14fec98b834dd0b8af8d24d35641c6637
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Aug 4 19:29:55 2010 +0100

    Minor change

 src/murrine_style.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index fe3f901..fc290a4 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -1324,7 +1324,7 @@ murrine_style_draw_box (DRAW_ARGS)
 		if (params.disabled)
 			params.reliefstyle = 0;
 		
-		if (murrine_style->sliderstyle <= 1)
+		if (murrine_style->sliderstyle < 2)
 			STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, &params, &button, x, y, width, height, horizontal);
 		else
 			STYLE_FUNCTION(draw_slider) (cr, &murrine_style->colors, &params, &slider, x, y, width-1, height-1);



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