Skip to content

Commit 3a1798f

Browse files
committed
Fix dialog testing in Loader
1 parent ab2a1b9 commit 3a1798f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Client/loader/Dialogs.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,9 @@ void TestDialogs()
934934
#endif
935935

936936
#if 1
937-
SetApplicationSetting ( "diagnostics", "d3d9-dll-last-hash", "123" );
938-
ShowGraphicsDllDialog( g_hInstance, "c:\\dummy path\\" );
937+
SetApplicationSetting("diagnostics", "d3d9-dll-last-hash", "123");
938+
std::vector<GraphicsLibrary> offenders{GraphicsLibrary{"dummy"}};
939+
ShowGraphicsDllDialog(g_hInstance, offenders);
939940
HideGraphicsDllDialog();
940941
#endif
941942

0 commit comments

Comments
 (0)