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; }