diff --git a/plugins/win-capture/monitor-capture.c b/plugins/win-capture/monitor-capture.c index 543fb377a..9bfb44a5b 100644 --- a/plugins/win-capture/monitor-capture.c +++ b/plugins/win-capture/monitor-capture.c @@ -1,6 +1,7 @@ #include #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)