diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 21:05:54 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-07-14 21:05:54 -0400 |
commit | b88634206402814f63ba8db192e52d3e3bec2b38 (patch) | |
tree | 08ffacae3c1d72251d8ba25a446c5ea10140f40f /src/textual.cc | |
parent | a44572f3ecc8649539d574bd7171597644d1e92e (diff) | |
download | fork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.tar.gz fork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.tar.bz2 fork-ledger-b88634206402814f63ba8db192e52d3e3bec2b38.zip |
Preserve the given cost for print
Patch from John Wiegley
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc index eea79de0..156e2b9c 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1578,6 +1578,8 @@ post_t * instance_t::parse_post(char * line, if (fixed_cost) post->add_flags(POST_COST_FIXATED); + post->given_cost = post->cost; + DEBUG("textual.parse", "line " << context.linenum << ": " << "Total cost is " << *post->cost); DEBUG("textual.parse", "line " << context.linenum << ": " |