SHA256
1
0
forked from pool/graphviz
graphviz/graphviz-codecleanup.patch

12 lines
401 B
Diff

--- lib/sfio/sfhdr.h
+++ lib/sfio/sfhdr.h
@@ -493,7 +493,7 @@
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]; \
} \
} \