aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/xenostep
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-08-30 16:18:45 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-08-30 16:18:45 +0000
commit68f1a4f4bfaac981d13a4729ce4c2d802fb38a68 (patch)
tree8cf5ef7eb5963ede8fd23298385fcfd91a3e40ed /x11-themes/xenostep
parentf2921c2f2ac59b5d9b54329ed0e9b61cc95e2fe3 (diff)
downloadports-68f1a4f4bfaac981d13a4729ce4c2d802fb38a68.tar.gz
ports-68f1a4f4bfaac981d13a4729ce4c2d802fb38a68.zip
Avoid calling strncmp(3) with two arguments - use strcmp(3) instead.
PR: 41257 Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Notes
Notes: svn path=/head/; revision=65320
Diffstat (limited to 'x11-themes/xenostep')
-rw-r--r--x11-themes/xenostep/Makefile1
-rw-r--r--x11-themes/xenostep/files/patch-XenoStep_theme_draw.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/x11-themes/xenostep/Makefile b/x11-themes/xenostep/Makefile
index b4703109d7c6..7e625d152164 100644
--- a/x11-themes/xenostep/Makefile
+++ b/x11-themes/xenostep/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xenostep
PORTVERSION= 200011270836
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_THEMES}
MASTER_SITE_SUBDIR= gtk
diff --git a/x11-themes/xenostep/files/patch-XenoStep_theme_draw.c b/x11-themes/xenostep/files/patch-XenoStep_theme_draw.c
new file mode 100644
index 000000000000..1f1fbf29712a
--- /dev/null
+++ b/x11-themes/xenostep/files/patch-XenoStep_theme_draw.c
@@ -0,0 +1,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) {