From: Toni Wilen Date: Tue, 2 Aug 2022 08:57:37 +0000 (+0300) Subject: ROM scanner info text window didn't use GUI configured font. X-Git-Tag: 41000~177 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=5f2ed075203b5d95b8f4b78cb93098237cfb47a6;p=francis%2Fwinuae.git ROM scanner info text window didn't use GUI configured font. --- 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;