Skip to content

Commit

Permalink
Update App.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
xland committed Jun 16, 2024
1 parent f4172eb commit 4c3eb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void App::SaveFile() {
return;
}
IFileOpenDialog* dialog;
CLSID param1 = CLSID_FileSaveDialog, param2 = IID_IFileSaveDialog;
CLSID param1{ CLSID_FileSaveDialog }, param2{ IID_IFileSaveDialog };
auto hr = CoCreateInstance(param1, NULL, CLSCTX_ALL, param2, reinterpret_cast<void**>(&dialog));
if (FAILED(hr))
{
Expand Down

0 comments on commit 4c3eb71

Please sign in to comment.