- Fix invocation name in `FileSystem::GetLongName()` error output.

* Thanks to @Gaerzi for spotting this.
This commit is contained in:
Mitchell Richters 2021-08-23 18:55:42 +10:00
parent a920fc5aef
commit 1d0924e45a
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ LumpShortName& FileSystem::GetShortName(int i)
FString& FileSystem::GetLongName(int i)
{
if ((unsigned)i >= NumEntries) I_Error("GetShortName: Invalid index");
if ((unsigned)i >= NumEntries) I_Error("GetLongName: Invalid index");
return FileInfo[i].longName;
}