Browse Source

Use of text macros instead of direct obs_module_text calls

Manuel Kroeber 11 years ago
parent
commit
fa1b9a9048
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/win-capture/monitor-capture.c

+ 2 - 1
plugins/win-capture/monitor-capture.c

@@ -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)