blob: 2e7b9f7426a1e84e1f9cf74b1b3f54a43c47c784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')
{
|