summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnucash.cc')
-rw-r--r--gnucash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnucash.cc b/gnucash.cc
index cf858ba3..11e4ceec 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -182,7 +182,7 @@ static void endElement(void *userData, const char *name)
if (default_commodity) {
curr_quant.set_commodity(*default_commodity);
- value = curr_quant.round(default_commodity->precision());
+ value = curr_quant.round();
if (curr_value.commodity() == *default_commodity)
curr_value = value;