libobs: Fix type mismatch on obs_property_text_monospace

This commit is contained in:
tytan652 2022-01-13 11:59:58 +01:00 committed by Matt Gajownik
parent eb62162d50
commit 30b8987bad
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);