summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-03 06:11:33 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:36 -0400
commit738287ef7059e34c2f3c894aa3b1f7da3e059975 (patch)
tree0620fe4354be6268d6de9acd97698b12935690f0 /src/textual.cc
parentc59018c29ddfc7a46aeb951fbcd5cb5b93f47ec0 (diff)
downloadfork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.tar.gz
fork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.tar.bz2
fork-ledger-738287ef7059e34c2f3c894aa3b1f7da3e059975.zip
Merged ../commodity_pool
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 6b36a4ac..6e7e3ee2 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -776,7 +776,7 @@ unsigned int textual_parser_t::parse(std::istream& in,
case 'Y': // set current year
#if 0
// jww (2007-04-18): Need to set this up again
- date_t::current_year = std::atoi(skip_ws(line + 1));
+ date_t::current_year = lexical_cast<int>(skip_ws(line + 1));
#endif
break;