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

14 lines
379 B
Plaintext

$NetBSD: patch-al,v 1.1 2005/03/22 14:57:12 cube Exp $
--- src/sensors.c.orig 2005-03-20 18:29:30.000000000 +0100
+++ src/sensors.c
@@ -2541,7 +2541,7 @@ sensors_apply(void)
if (mbmon_port_entry)
{
str = gkrellm_gtk_entry_get_text(&mbmon_port_entry);
- if (isdigit(*str))
+ if (isdigit((unsigned char)*str))
{
port = atoi(str);
if (_GK.mbmon_port != port)