From 192035e16a18710d7d53a1a1eb064bb17c38b0ae Mon Sep 17 00:00:00 2001 From: Leon Styhre <leon@leonstyhre.com> Date: Sun, 28 Jul 2024 16:21:44 +0200 Subject: [PATCH] Clarified the custom event script sorting in a code comment --- es-core/src/Scripting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/Scripting.cpp b/es-core/src/Scripting.cpp index 450a28de5..4d6be41a9 100644 --- a/es-core/src/Scripting.cpp +++ b/es-core/src/Scripting.cpp @@ -46,8 +46,8 @@ namespace Scripting for (auto dirIt = scriptDirList.cbegin(); dirIt != scriptDirList.cend(); ++dirIt) { std::list<std::string> scripts {Utils::FileSystem::getDirContent(*dirIt)}; - // Sort the scripts in case-sensitive order on Unix/Linux and in case-insensitive order - // on macOS and Windows. + // Sort the scripts in case-sensitive order on Linux, Unix and Android and in + // case-insensitive order on macOS and Windows. #if defined(__unix__) scripts.sort([](std::string a, std::string b) { return a.compare(b) < 0; }); #else