Merge pull request #420 from catalinr/fix_charset_comments
Fix a couple of charset-related comments. No real changes.
This commit is contained in:
@@ -23,8 +23,8 @@
|
|||||||
// Under X, it contains the last 2 elements of the font specifications
|
// Under X, it contains the last 2 elements of the font specifications
|
||||||
// (registry and encoding).
|
// (registry and encoding).
|
||||||
//
|
//
|
||||||
// Under Windows, it contains a number which is one of predefined CHARSET_XXX
|
// Under Windows, it contains a number which is one of predefined XXX_CHARSET
|
||||||
// values.
|
// values (https://msdn.microsoft.com/en-us/library/cc250412.aspx).
|
||||||
//
|
//
|
||||||
// Under all platforms it also contains a facename string which should be
|
// Under all platforms it also contains a facename string which should be
|
||||||
// used, if not empty, to create fonts in this encoding (this is the only way
|
// used, if not empty, to create fonts in this encoding (this is the only way
|
||||||
|
@@ -41,8 +41,7 @@ bool wxNativeEncodingInfo::FromString( const wxString& s )
|
|||||||
wxString tmp = tokenizer.GetNextToken();
|
wxString tmp = tokenizer.GetNextToken();
|
||||||
if ( !tmp )
|
if ( !tmp )
|
||||||
{
|
{
|
||||||
// default charset (don't use DEFAULT_CHARSET though because of subtle
|
// default charset
|
||||||
// Windows 9x/NT differences in handling it)
|
|
||||||
charset = 0;
|
charset = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user