minor fixes for the font info patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
30764ab524
commit
189e08b45a
@ -138,8 +138,8 @@ enum
|
||||
Font_EnumFamilies,
|
||||
Font_EnumFixedFamilies,
|
||||
Font_EnumEncodings,
|
||||
Font_CheckNativeToFromString
|
||||
Font_Max,
|
||||
Font_CheckNativeToFromString,
|
||||
Font_Max
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -195,7 +195,7 @@ bool wxNativeFontInfo::FromString(const wxString& s)
|
||||
token = tokenizer.GetNextToken();
|
||||
if ( !token.ToLong(&l) )
|
||||
return FALSE;
|
||||
underlined = (int)l;
|
||||
underlined = l != 0;
|
||||
|
||||
faceName = tokenizer.GetNextToken();
|
||||
if( !faceName )
|
||||
|
Loading…
Reference in New Issue
Block a user