summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amount.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index 05421760..d1ce01ec 100644
--- a/amount.cc
+++ b/amount.cc
@@ -984,7 +984,8 @@ void parse_conversion(const std::string& larger_str,
if (larger.commodity()) {
larger.commodity().smaller = new amount_t(smaller);
- larger.commodity().flags = smaller.commodity().flags;
+ larger.commodity().flags = (smaller.commodity().flags |
+ COMMODITY_STYLE_NOMARKET);
}
if (smaller.commodity())
smaller.commodity().larger = new amount_t(larger);