From ec6777f17dfebb794e4e0a67db60f5cafbd8fa4b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:40:27 +0000 Subject: [PATCH] Adjust code, to consistent with the coding style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/dcclient.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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; }