From 7acc1306d985fb532ee429121fac0e1692285503 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 4 Mar 2006 17:13:45 +0000 Subject: *** empty log message *** --- gnucash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnucash.cc') 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; -- cgit v1.2.3