- 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

View file

@ -914,7 +914,7 @@ LumpShortName& FileSystem::GetShortName(int i)
FString& FileSystem::GetLongName(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; return FileInfo[i].longName;
} }