From 1cd8e5aa9ce1ba1a9ef1f3ab306a331593538583 Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 23 Apr 2008 17:16:28 +0000 Subject: [PATCH] graphviz-codecleanup.patch backported from SuSE graphviz-2.18 --- lib/sfio/sfhdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index d171c75ec..846093ab8 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -493,7 +493,7 @@ extern "C" { if((lv = localeconv())) \ { if(lv->decimal_point && lv->decimal_point[0]) \ *(decimal) = lv->decimal_point[0]; \ - if(thousand && lv->thousands_sep && lv->thousands_sep[0]) \ + if(thousand != NULL && lv->thousands_sep && lv->thousands_sep[0]) \ *(thousand) = lv->thousands_sep[0]; \ } \ } \ -- 2.40.0