From b4483e42bdcbfaff1868b09a8cedac8ee5e6f42a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 18 Oct 2020 17:53:59 -0700 Subject: [PATCH] Fix incorrect use of '=' instead of '==' --- src/osx/core/printmac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/core/printmac.cpp b/src/osx/core/printmac.cpp index 5d3fe9b43e..235bea2b57 100644 --- a/src/osx/core/printmac.cpp +++ b/src/osx/core/printmac.cpp @@ -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)