Some HRESULTs use 0x973 as the origin, so adding that to the error
formatter corrects some error messages that would otherwise come across
as "??".
Change-Id: I1d8520088c37cda954a94b3bcd0d15504b7a0757
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
wchar_t error[1024];
HMODULE module = 0;
DWORD origin = HRESULT_FACILITY(hr);
- if (origin == 0x974)
+ if (origin == 0x973 || origin == 0x974)
module = d->langModule;
if (module)
LoadString(module, HRESULT_CODE(hr), error, sizeof(error)/sizeof(wchar_t));