text_setting: allow null argument.
text_setting_reset() allows null value by demand.
This commit is contained in:
parent
381afdd7b1
commit
932174c629
|
@ -974,7 +974,7 @@ text_setting_config_set(text_setting_data *tsd)
|
|||
void
|
||||
text_setting_reset(text_setting_data *tsd)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(tsd);
|
||||
if (!tsd) return;
|
||||
|
||||
//font scale
|
||||
tsd->font_scale = (double) config_font_scale_get();
|
||||
|
|
Loading…
Reference in New Issue