[Zoomit]Fix warning C4706 and related error C2220 (#37283)

This commit is contained in:
Massimiliano Alberti
2025-02-13 20:45:52 +01:00
committed by GitHub
parent 58d34087ee
commit 5008d77105

View File

@@ -1820,7 +1820,7 @@ INT_PTR CALLBACK OptionsTabProc( HWND hDlg, UINT message,
break;
case WM_PAINT:
if( (hTextPreview = GetDlgItem( hDlg, IDC_TEXT_FONT ))) {
if( (hTextPreview = GetDlgItem( hDlg, IDC_TEXT_FONT )) != 0 ) {
// 16-pt preview
LOGFONT _lf = g_LogFont;