aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/xenostep/files/patch-XenoStep_theme_draw.c
blob: 1f1fbf29712a6fd0f9352fcdf30e93140ef5e8de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

$FreeBSD$

--- XenoStep_theme_draw.c	2002/08/30 16:16:48	1.1
+++ XenoStep_theme_draw.c	2002/08/30 16:17:08
@@ -604,7 +604,7 @@
 				width-=2;	height-=2;
 			}
 		} else if (GTK_IS_BUTTON(widget)) {
-			 if (detail && !strncmp("buttondefault", detail)) {
+			 if (detail && !strcmp("buttondefault", detail)) {
 				newshadow = ((XenoStepThemeData *)style->engine_data)->buttondef_shadow;
 			} else
 			if (!GTK_IS_TOGGLE_BUTTON(widget) && state_type == GTK_STATE_ACTIVE) {