Fixed indentation in ToDIP to make it consistent with FromDIP.

This commit is contained in:
Steve Browne 2015-11-24 19:42:14 -05:00
parent 1af2cdd200
commit 8ede2351cc

View File

@ -2887,7 +2887,7 @@ wxWindowBase::ToDIP(const wxSize& sz, const wxWindowBase* WXUNUSED(w))
// Take care to not scale -1 because it has a special meaning of
// "unspecified" which should be preserved.
return wxSize(sz.x == -1 ? -1 : wxMulDivInt32(sz.x, BASELINE_DPI, dpi.x),
sz.y == -1 ? -1 : wxMulDivInt32(sz.y, BASELINE_DPI, dpi.y));
sz.y == -1 ? -1 : wxMulDivInt32(sz.y, BASELINE_DPI, dpi.y));
}
#endif // !wxHAVE_DPI_INDEPENDENT_PIXELS