libobs: Fix type mismatch on obs_property_text_monospace
This commit is contained in:
parent
eb62162d50
commit
30b8987bad
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user