From c2f4ca5da193260145d441eb983704017f6fa6db Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Wed, 3 Dec 2025 22:28:16 +0200 Subject: [PATCH] Set functions static --- Ja2/Loading Screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ja2/Loading Screen.cpp b/Ja2/Loading Screen.cpp index 676bc4ee..5c653e45 100644 --- a/Ja2/Loading Screen.cpp +++ b/Ja2/Loading Screen.cpp @@ -343,7 +343,7 @@ static void BuildLoadscreenFilename(std::string& dst, const char* path, int reso dst.append(".sti"); } -std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution) +static std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution) { switch (resolution) { @@ -375,7 +375,7 @@ std::string GetResolutionSuffix(SCREEN_RESOLUTION resolution) } } -std::string FindBestFittingLoadscreenFilename(const std::string& baseName, SCREEN_RESOLUTION resolution) +static std::string FindBestFittingLoadscreenFilename(const std::string& baseName, SCREEN_RESOLUTION resolution) { for (SCREEN_RESOLUTION res = resolution; res <= _2560x1600; res = (SCREEN_RESOLUTION)(res + 1)) {