accidentally used a Vista+ function xDDDDDD

This commit is contained in:
TheTank20 2025-05-07 20:33:47 -04:00
parent 2b610e1621
commit 3955009541
1 changed files with 2 additions and 2 deletions

View File

@ -532,7 +532,7 @@ static BSTR XP_GetWPALeft() {
return SysAllocString(L"An error occurred at GetWPALeft: Windows is activated");
}
wchar_t buffer[16];
swprintf_s(buffer, 16, L"%lu", dwWPALeft);
swprintf(buffer, L"%lu", dwWPALeft);
return SysAllocString(buffer);
}
@ -559,7 +559,7 @@ static BSTR XP_GetEvalLeft() {
return SysAllocString(L"An error occurred at GetEvalLeft: Not an evaluation copy");
}
wchar_t buffer[16];
swprintf_s(buffer, 16, L"%lu", dwWPALeft);
swprintf(buffer, L"%lu", dwWPALeft);
return SysAllocString(buffer);
}