From ae825ecd8667131bd6cfc26a38c0990f3ab241db 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:18 +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 22e164613e..8221f6ba21 100644 --- a/src/qt/dc.cpp +++ b/src/qt/dc.cpp @@ -132,7 +132,8 @@ void wxQtDCImpl::DoGetSize(int *width, int *height) const } if (width) *width = deviceWidth; - if (height) *height = deviceHeight; + if ( height ) + *height = deviceHeight; } void wxQtDCImpl::DoGetSizeMM(int* width, int* height) const