Fixed incorrect arg index
This commit is contained in:
parent
b54f9c2290
commit
84d458de5b
@ -43,7 +43,7 @@ int main(const int argc, const char* argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
CDemoFile demoFile;
|
CDemoFile demoFile;
|
||||||
if (!demoFile.Open(argv[2]))
|
if (!demoFile.Open(argv[1]))
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user