From: Andrea Zagli <azagli@libero.it>
Date: Sat, 2 Jan 2016 22:08:19 +0000 (+0100)
Subject: Doesn't take into account with_currency_symbol in ZakUtil::form_money.
X-Git-Tag: v0.0.1~1
X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=1e5786c9ba6bbfced022167582491e63d39efbfa;p=libzakutils

Doesn't take into account with_currency_symbol in ZakUtil::form_money.
---

diff --git a/src/generic.c b/src/generic.c
index 5866520..1540152 100644
--- a/src/generic.c
+++ b/src/generic.c
@@ -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);
 }
 
 /**