From fa1b9a9048ea2b60af350b4bfc8a49c5bddd2a6f Mon Sep 17 00:00:00 2001 From: Manuel Kroeber Date: Tue, 14 Oct 2014 20:41:05 +0200 Subject: [PATCH] Use of text macros instead of direct obs_module_text calls --- plugins/win-capture/monitor-capture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- GitLab