From e14d7b6e543850bae6c46f01a80b11c41ea383cf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 27 Jul 2008 20:37:21 -0400 Subject: Cleaned up the value expression code a bit before undertaking the real work of getting everything back up to what it was (plus the new code written for 3.0). --- option.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'option.cc') diff --git a/option.cc b/option.cc index d4de29de..103e960e 100644 --- a/option.cc +++ b/option.cc @@ -888,25 +888,25 @@ OPT_BEGIN(download, "Q") { } OPT_END(download); OPT_BEGIN(quantity, "O") { - ledger::amount_expr = "@a"; - ledger::total_expr = "@O"; + ledger::amount_expr = "a"; + ledger::total_expr = "O"; } OPT_END(quantity); OPT_BEGIN(basis, "B") { - ledger::amount_expr = "@b"; - ledger::total_expr = "@B"; + ledger::amount_expr = "b"; + ledger::total_expr = "B"; } OPT_END(basis); OPT_BEGIN(price, "I") { - ledger::amount_expr = "@i"; - ledger::total_expr = "@I"; + ledger::amount_expr = "i"; + ledger::total_expr = "I"; } OPT_END(price); OPT_BEGIN(market, "V") { report->show_revalued = true; - ledger::amount_expr = "@v"; - ledger::total_expr = "@V"; + ledger::amount_expr = "v"; + ledger::total_expr = "V"; } OPT_END(market); namespace { -- cgit v1.2.3