*** formatting.c.orig 2006-09-14 15:51:10.000000000 -0300 --- formatting.c 2006-09-14 16:52:41.000000000 -0300 *************** *** 3502,3513 **** /* * Positive / Negative number sign */ ! if (lconv->negative_sign && *lconv->negative_sign) Np->L_negative_sign = lconv->negative_sign; else Np->L_negative_sign = "-"; ! if (lconv->positive_sign && *lconv->positive_sign) Np->L_positive_sign = lconv->positive_sign; else Np->L_positive_sign = "+"; --- 3502,3513 ---- /* * Positive / Negative number sign */ ! if (lconv->negative_sign) Np->L_negative_sign = lconv->negative_sign; else Np->L_negative_sign = "-"; ! if (lconv->positive_sign) Np->L_positive_sign = lconv->positive_sign; else Np->L_positive_sign = "+"; *************** *** 3515,3521 **** /* * Number thousands separator */ ! if (lconv->thousands_sep && *lconv->thousands_sep) Np->L_thousands_sep = lconv->thousands_sep; else Np->L_thousands_sep = ","; --- 3515,3521 ---- /* * Number thousands separator */ ! if (lconv->thousands_sep) Np->L_thousands_sep = lconv->thousands_sep; else Np->L_thousands_sep = ","; *************** *** 3523,3538 **** /* * Number decimal point */ ! if (lconv->decimal_point && *lconv->decimal_point) Np->decimal = lconv->decimal_point; - else Np->decimal = "."; /* * Currency symbol */ ! if (lconv->currency_symbol && *lconv->currency_symbol) Np->L_currency_symbol = lconv->currency_symbol; else Np->L_currency_symbol = " "; --- 3523,3537 ---- /* * Number decimal point */ ! if (lconv->decimal_point) Np->decimal = lconv->decimal_point; else Np->decimal = "."; /* * Currency symbol */ ! if (lconv->currency_symbol) Np->L_currency_symbol = lconv->currency_symbol; else Np->L_currency_symbol = " ";