Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!IsEmpty().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-09-14 12:08:28 +00:00
parent a2668a908a
commit a62848fdba
29 changed files with 427 additions and 429 deletions

View File

@@ -316,7 +316,7 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
wxString configEntry,
encName = GetEncodingName(encoding);
if ( !!facename )
if ( !facename.IsEmpty() )
{
configEntry = facename + _T("_");
}
@@ -340,13 +340,13 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
}
else // use the info entered the last time
{
if ( !!fontinfo && !!facename )
if ( !fontinfo.IsEmpty() && !facename.IsEmpty() )
{
// we tried to find a match with facename -- now try without it
fontinfo = GetConfig()->Read(encName);
}
if ( !!fontinfo )
if ( !fontinfo.IsEmpty() )
{
if ( info->FromString(fontinfo) )
{