Fix a few compiler regressions

This commit is contained in:
2025-11-03 23:22:29 -07:00
parent 67c62cf196
commit a59e002ed0
4 changed files with 7 additions and 5 deletions

View File

@@ -3,11 +3,12 @@
#include "context.h"
#include "errors.h"
#include "internal.h"
#include "kernel32.h"
#include "kernel32_trampolines.h"
#include "strutil.h"
#include <algorithm>
#include <cstring>
#include <cwctype>
#include <initializer_list>
#include <string>
#include <vector>
@@ -236,7 +237,7 @@ BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA lpLocaleEnumProc, DWORD dwFlags)
}
// Return to guest context before callback
char localeId[] = "00000409"; // en-US
return lpLocaleEnumProc(localeId);
return call_LOCALE_ENUMPROCA(lpLocaleEnumProc, localeId);
}
LCID WINAPI GetUserDefaultLCID() {