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
This commit is contained in:
parent
c2b83f1b72
commit
ec6777f17d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user