Skip to content

Commit

Permalink
[Zoomit]Fix warning C4706 and related error C2220 (#37283)
Browse files Browse the repository at this point in the history
  • Loading branch information
xanatos authored Feb 13, 2025
1 parent 58d3408 commit 5008d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ZoomIt/ZoomIt/Zoomit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5008d77

Please sign in to comment.