forked from minhngoc25a/freetype2
Minor Updates on FT_ERROR part
This commit is contained in:
parent
1d6ffcc77a
commit
fde1c1698d
|
@ -23,6 +23,8 @@
|
|||
|
||||
* Strated working on Callback.
|
||||
|
||||
* Minor Updates on support of FT_ERROR part
|
||||
|
||||
2020-06-30 Priyesh Kumar <priyeshkkumar@gmail.com>
|
||||
|
||||
* Adding new line at end of file
|
||||
|
|
|
@ -359,7 +359,16 @@
|
|||
ft_default_output_handler( const struct dlg_origin* origin,
|
||||
const char* string, void* data )
|
||||
{
|
||||
unsigned int features = dlg_output_threadsafe /*| dlg_output_tags*/ ;
|
||||
unsigned int features;
|
||||
if( origin->tags[0] == "error_log" )
|
||||
{
|
||||
features = dlg_output_threadsafe | dlg_output_tags ;
|
||||
}
|
||||
else
|
||||
{
|
||||
features = dlg_output_threadsafe /*| dlg_output_tags*/ ;
|
||||
}
|
||||
|
||||
dlg_generic_output_stream( fileptr, features, origin, string,
|
||||
dlg_default_output_styles );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue