Use of text macros instead of direct obs_module_text calls
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user