mirror of
https://github.com/decompals/wibo.git
synced 2025-12-18 01:15:37 +00:00
Fix a few compiler regressions
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user