[Scummvm-git-logs] scummvm master -> beaa541913a488073f4e3c05d025dcae66f9d7a6

lephilousophe noreply at scummvm.org
Fri Jan 23 18:32:31 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
beaa541913 BACKENDS: SDL3: Swap language and country in locale formatting


Commit: beaa541913a488073f4e3c05d025dcae66f9d7a6
    https://github.com/scummvm/scummvm/commit/beaa541913a488073f4e3c05d025dcae66f9d7a6
Author: BeWorld (36823759+BeWorld2018 at users.noreply.github.com)
Date: 2026-01-23T19:32:25+01:00

Commit Message:
BACKENDS: SDL3: Swap language and country in locale formatting

Changed paths:
    backends/platform/sdl/sdl.cpp


diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 4fd0ee7232a..befec128258 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -744,7 +744,7 @@ Common::String OSystem_SDL::getSystemLanguage() const {
 	if (pLocales) {
 		SDL_Locale *locales = *pLocales;
 		if (locales[0].language != NULL) {
-			Common::String str = Common::String::format("%s_%s", locales[0].country, locales[0].language);
+			Common::String str = Common::String::format("%s_%s", locales[0].language, locales[0].country);
 			SDL_free(pLocales);
 			return str;
 		}




More information about the Scummvm-git-logs mailing list