]> saetta.ns0.it Git - libzakutils/commitdiff
Doesn't take into account with_currency_symbol in ZakUtil::form_money.
authorAndrea Zagli <azagli@libero.it>
Sat, 2 Jan 2016 22:08:19 +0000 (23:08 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 2 Jan 2016 22:08:19 +0000 (23:08 +0100)
src/generic.c

index 58665200e1f222b4b4d55cf85937c133bfec9fe7..15401523721522fa9b67e0ba0cd6bb7d78cd3154 100644 (file)
@@ -197,7 +197,7 @@ gchar
                                                 gint decimals,
                                                 gboolean with_currency_symbol)
 {
-       return zak_utils_format_money_full (number, decimals, NULL, "");
+       return zak_utils_format_money_full (number, decimals, NULL, with_currency_symbol ? "" : NULL);
 }
 
 /**