text-freetype2: Fix empty text not updating source
Fixes a bug where if you update the source with empty text, it would still continue to use the previous text value.
This commit is contained in:
parent
60447872c0
commit
6e05e8b325
@ -488,7 +488,7 @@ skip_font_load:
|
||||
}
|
||||
} else {
|
||||
const char *tmp = obs_data_get_string(settings, "text");
|
||||
if (!tmp || !*tmp)
|
||||
if (!tmp)
|
||||
goto error;
|
||||
|
||||
if (srcdata->text != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user