Fix incorrect use of '=' instead of '=='

This commit is contained in:
Paul Cornett
2020-10-18 17:53:59 -07:00
parent 52fdc8c97d
commit b4483e42bd

View File

@@ -396,7 +396,7 @@ void wxOSXPrintData::TransferResolutionTo( wxPrintData &data )
UInt32 i;
for (i = 0; i < resCount; i++)
{
if ((resolutions[i].hRes == res.hRes) && (resolutions[i].vRes = res.vRes))
if (resolutions[i].hRes == res.hRes && resolutions[i].vRes == res.vRes)
break;
}
if (i < resCount)