Merge pull request #11770 from lioncash/err

Common/CommonFuncs: Move interface into Common namespace
This commit is contained in:
Admiral H. Curtiss
2023-04-19 10:38:22 +02:00
committed by GitHub
8 changed files with 19 additions and 12 deletions

View File

@ -31,7 +31,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine
// Test for write permissions
bool need_admin = false;
auto path = GetModuleName(hInstance);
auto path = Common::GetModuleName(hInstance);
if (!path)
{
UI::Error("Failed to get updater filename.");