ConvertObj: Fix typos in error messages

This commit is contained in:
Ryan Schmidt 2022-11-27 16:35:46 -06:00 committed by GitHub
parent 2d38cceb19
commit ee75babf9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,14 +301,14 @@ int main(int argc, char* argv[])
{
if(argc != 2)
{
std::cerr << "Usage: ConvertOBJ mpw.o > retro68.s\n";
std::cerr << "Usage: ConvertObj mpw.o > retro68.s\n";
return 1;
}
std::ifstream in(argv[1]);
if(!in)
{
std::cerr << "Could not read imput file \"" << argv[1] << "\"\n";
std::cerr << "Usage: ConvertOBJ mpw.o > retro68.s\n";
std::cerr << "Could not read input file \"" << argv[1] << "\"\n";
std::cerr << "Usage: ConvertObj mpw.o > retro68.s\n";
return 1;
}