diff --git a/source/common/filesystem/filesystem.cpp b/source/common/filesystem/filesystem.cpp index db4db9d56..47932334d 100644 --- a/source/common/filesystem/filesystem.cpp +++ b/source/common/filesystem/filesystem.cpp @@ -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; }