diff --git a/libobs/obs-properties.c b/libobs/obs-properties.c index 3aef87e10..2b4c0a046 100644 --- a/libobs/obs-properties.c +++ b/libobs/obs-properties.c @@ -1016,7 +1016,7 @@ enum obs_text_type obs_property_text_type(obs_property_t *p) return data ? data->type : OBS_TEXT_DEFAULT; } -enum obs_text_type obs_property_text_monospace(obs_property_t *p) +bool obs_property_text_monospace(obs_property_t *p) { struct text_data *data = get_type_data(p, OBS_PROPERTY_TEXT); return data ? data->monospace : false; diff --git a/libobs/obs-properties.h b/libobs/obs-properties.h index 36197313a..dcda3ab46 100644 --- a/libobs/obs-properties.h +++ b/libobs/obs-properties.h @@ -323,7 +323,7 @@ EXPORT double obs_property_float_step(obs_property_t *p); EXPORT enum obs_number_type obs_property_float_type(obs_property_t *p); EXPORT const char *obs_property_float_suffix(obs_property_t *p); EXPORT enum obs_text_type obs_property_text_type(obs_property_t *p); -EXPORT enum obs_text_type obs_property_text_monospace(obs_property_t *p); +EXPORT bool obs_property_text_monospace(obs_property_t *p); EXPORT enum obs_path_type obs_property_path_type(obs_property_t *p); EXPORT const char *obs_property_path_filter(obs_property_t *p); EXPORT const char *obs_property_path_default_path(obs_property_t *p);