Skip to content

Commit

Permalink
Fix langid override
Browse files Browse the repository at this point in the history
  • Loading branch information
namazso committed Jul 2, 2023
1 parent 76844c9 commit f54a234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenHashTab/utl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ int utl::FormattedMessageBox(HWND hwnd, LPCWSTR caption, UINT type, _In_z_ _Prin
}

std::wstring utl::GetString(UINT id) {
static ULONG langid_override{};
static ULONG langid_override = detail::GetSettingDWORD("LangIdOverride", 0);
PCWCH v{};
USHORT len{};
load_string(GetInstance(), (USHORT)id, langid_override, &v, &len);
Expand Down

0 comments on commit f54a234

Please sign in to comment.