diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index e6986d1630..0857dd7b60 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -1662,10 +1662,7 @@ void wxWindowDCImpl::DoGetTextExtent( const wxString &string, wxCoord *width, wx if (height) (*height) = 0; //empty string should also make sure the descent and leading is zero. - if (descent) - { - (*descent) = 0; - } + if (descent) (*descent) = 0; if (externalLeading) (*externalLeading) = 0; return; }