From 8f5acb341eeee5d27eb6921e26d7ce04aa0cdea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20R=C4=83ceanu?= Date: Thu, 20 Dec 2018 13:59:24 +0000 Subject: [PATCH] Update src/qt/dc.cpp Co-Authored-By: ffa-grahamdawes --- src/qt/dc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt/dc.cpp b/src/qt/dc.cpp index 8221f6ba21..fc0db374aa 100644 --- a/src/qt/dc.cpp +++ b/src/qt/dc.cpp @@ -154,7 +154,8 @@ void wxQtDCImpl::DoGetSizeMM(int* width, int* height) const deviceHeightMM = 0; } - if (width) *width = deviceWidthMM; + if ( width ) + *width = deviceWidthMM; if (height) *height = deviceHeightMM; }