forked from pool/graphviz
12 lines
401 B
Diff
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]; \
|
||
|
} \
|
||
|
} \
|