File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
/* -----------------------------------------------------------------------
2
2
* formatting.c
3
3
*
4
- * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.104 2006/02/12 04:44:15 momjian Exp $
4
+ * $PostgreSQL: pgsql/src/backend/utils/adt/formatting.c,v 1.105 2006/02/12 19:52:06 momjian Exp $
5
5
*
6
6
*
7
7
* Portions Copyright (c) 1999-2005, PostgreSQL Global Development Group
@@ -3720,15 +3720,16 @@ NUM_prepare_locale(NUMProc *Np)
3720
3720
else
3721
3721
Np -> L_negative_sign = "-" ;
3722
3722
3723
- if (lconv -> positive_sign && * lconv -> positive_sign )
3723
+ /* Might be "" */
3724
+ if (lconv -> positive_sign )
3724
3725
Np -> L_positive_sign = lconv -> positive_sign ;
3725
3726
else
3726
3727
Np -> L_positive_sign = "+" ;
3727
3728
3728
3729
/*
3729
- * Number thousands separator
3730
+ * Number thousands separator (might be "")
3730
3731
*/
3731
- if (lconv -> thousands_sep && * lconv -> thousands_sep )
3732
+ if (lconv -> thousands_sep )
3732
3733
Np -> L_thousands_sep = lconv -> thousands_sep ;
3733
3734
else
3734
3735
Np -> L_thousands_sep = "," ;
You can’t perform that action at this time.
0 commit comments