From a93111470d54e6345617b51fcc939f306854a524 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 21 Feb 2009 02:08:49 -0400 Subject: Greatly improved the way "weeks" are iterated --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index eec3be61..b3fb2f2e 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -512,7 +512,7 @@ void instance_t::nomarket_directive(char * line) void instance_t::year_directive(char * line) { - current_year = std::atoi(skip_ws(line + 1)); + current_year = lexical_cast(skip_ws(line + 1)); } void instance_t::option_directive(char * line) -- cgit v1.2.3