Minor formatting fix

This commit is contained in:
Vadim Zeitlin 2019-08-09 23:38:01 +02:00
parent 16a02e6338
commit f3adef1047

View File

@ -278,7 +278,8 @@ void wxSetScaledScreenDCFont(wxScreenDC& sDC, const wxFont& font)
sDC.SetFont(font);
const double scale = sDC.GetContentScaleFactor();
if (scale > 1) {
if ( scale > 1 )
{
// wxScreenDC uses the DPI of the main screen to determine the text
// extent and character width/height. Because the SVG should be
// DPI-independent we want the text extent of the default (96) DPI.