diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2020-05-21 21:12:39 +0800 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2020-05-21 21:12:39 +0800 |
commit | bc1dcd187fb6f24d6b96ceb4c9b9176624b90dab (patch) | |
tree | cc6e3300943195e1e096bc84fbfefb8dfce3bb61 /src/amount.cc | |
parent | a254f598b2fc99d7ae917579803ccdd6dc872c4d (diff) | |
download | fork-ledger-bc1dcd187fb6f24d6b96ceb4c9b9176624b90dab.tar.gz fork-ledger-bc1dcd187fb6f24d6b96ceb4c9b9176624b90dab.tar.bz2 fork-ledger-bc1dcd187fb6f24d6b96ceb4c9b9176624b90dab.zip |
Fix typos in comments
Diffstat (limited to 'src/amount.cc')
-rw-r--r-- | src/amount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amount.cc b/src/amount.cc index c6463b2b..788a140c 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -236,7 +236,7 @@ void amount_t::initialize() commodity_pool_t::current_pool.reset(new commodity_pool_t); - // Add time commodity conversions, so that timelog's may be parsed + // Add time commodity conversions, so that timelogs may be parsed // in terms of seconds, but reported as minutes or hours. if (commodity_t * commodity = commodity_pool_t::current_pool->create("s")) commodity->add_flags(COMMODITY_BUILTIN | COMMODITY_NOMARKET); @@ -1051,7 +1051,7 @@ bool amount_t::parse(std::istream& in, const parse_flags_t& flags) // Allocate memory for the amount's quantity value. We have to // monitor the allocation in a unique_ptr because this function gets // called sometimes from amount_t's constructor; and if there is an - // exeception thrown by any of the function calls after this point, + // exception thrown by any of the function calls after this point, // the destructor will never be called and the memory never freed. unique_ptr<bigint_t> new_quantity; |