summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gkrellm/patches/patch-ag')
-rw-r--r--sysutils/gkrellm/patches/patch-ag16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/gkrellm/patches/patch-ag b/sysutils/gkrellm/patches/patch-ag
new file mode 100644
index 00000000000..2e7b9f7426a
--- /dev/null
+++ b/sysutils/gkrellm/patches/patch-ag
@@ -0,0 +1,16 @@
+$NetBSD: patch-ag,v 1.1 2005/03/22 14:57:12 cube Exp $
+
+--- src/chart.c.orig 2004-08-31 16:34:23.000000000 +0200
++++ src/chart.c
+@@ -1086,9 +1086,9 @@ gkrellm_draw_chart_text(GkrellmChart *cp
+ ts = ts_alt;
+ shadow = ts_alt->effect ? 1 : 0;
+ }
+- else if (c == 'x' && isdigit(*s))
++ else if (c == 'x' && isdigit((unsigned char)*s))
+ xx = *s++ - '0';
+- else if (c == 'y' && isdigit(*s))
++ else if (c == 'y' && isdigit((unsigned char)*s))
+ y = *s++ - '0';
+ else if (c == 'D')
+ {