From 796bdebd90819c54c3eeb01132c4da189e4323db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lepin?= Date: Thu, 12 Mar 2020 17:27:28 +0100 Subject: [PATCH] requests(OpenProjector): wrap version check with parentheses --- src/WSRequestHandler_General.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WSRequestHandler_General.cpp b/src/WSRequestHandler_General.cpp index dbf9b9ab..057b8bae 100644 --- a/src/WSRequestHandler_General.cpp +++ b/src/WSRequestHandler_General.cpp @@ -331,7 +331,7 @@ RpcResponse WSRequestHandler::GetVideoInfo(const RpcRequest& request) { * @since unreleased */ RpcResponse WSRequestHandler::OpenProjector(const RpcRequest& request) { -#if LIBOBS_API_VER >= MAKE_SEMANTIC_VERSION(24, 0, 4) +#if (LIBOBS_API_VER >= MAKE_SEMANTIC_VERSION(24, 0, 4)) const char *type = obs_data_get_string(request.parameters(), "type"); int monitor = -1; if (request.hasField("monitor")) {