From 5f2ed075203b5d95b8f4b78cb93098237cfb47a6 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 2 Aug 2022 11:57:37 +0300 Subject: [PATCH] ROM scanner info text window didn't use GUI configured font. --- od-win32/win32gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index 68bc99aa..310dcb37 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -2043,7 +2043,7 @@ int scan_roms (HWND hDlg, int show) infoboxdialogstate = true; infoboxhwnd = NULL; if (!rp_isactive ()) { - HWND hwnd = CreateDialog (hUIDLL ? hUIDLL : hInst, MAKEINTRESOURCE (IDD_INFOBOX), hDlg, InfoBoxDialogProc); + HWND hwnd = CustomCreateDialog(IDD_INFOBOX, hDlg, InfoBoxDialogProc); if (!hwnd) goto end; infoboxhwnd = hwnd; -- 2.47.3