2013-09-26 17:14:40 +02:00

17 lines
510 B
Plaintext

$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')
{