Fix SON argument

This commit is contained in:
Jack Andersen 2016-05-30 10:25:28 -10:00
parent 494a39e76a
commit ef6c6cf6a9
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ struct AppCallback : boo::IApplicationCallback
if (m_argc > 2)
{
std::experimental::optional<athena::io::FileReader> r;
r.emplace(m_argv[m_argc-1], 32 * 1024, false);
r.emplace(m_argv[2], 32 * 1024, false);
if (!r->hasError())
{
uint32_t version = r->readUint32Big();