From 1d0924e45a4ccd4ab6815a9a8440f4e67baf4537 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 23 Aug 2021 18:55:42 +1000 Subject: [PATCH] - Fix invocation name in `FileSystem::GetLongName()` error output. * Thanks to @Gaerzi for spotting this. --- source/common/filesystem/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }