Use of text macros instead of direct obs_module_text calls
This commit is contained in:
parent
1df9bcfa49
commit
fa1b9a9048
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include <util/dstr.h>
|
||||
#include "dc-capture.h"
|
||||
|
||||
#define TEXT_MONITOR_CAPTURE obs_module_text("MonitorCapture")
|
||||
struct monitor_capture {
|
||||
obs_source_t *source;
|
||||
|
||||
|
|
@ -85,7 +86,7 @@ static inline void update_settings(struct monitor_capture *capture,
|
|||
|
||||
static const char *monitor_capture_getname(void)
|
||||
{
|
||||
return obs_module_text("MonitorCapture");
|
||||
return TEXT_MONITOR_CAPTURE;
|
||||
}
|
||||
|
||||
static void monitor_capture_destroy(void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue