mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 02:06:36 +02:00
[Zoomit]Fix warning C4706 and related error C2220 (#37283)
This commit is contained in:
committed by
GitHub
parent
58d34087ee
commit
5008d77105
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user