client: Fix error when compiling with WITH_CHANNELS=OFF

This commit is contained in:
Martin Fleisz 2022-03-16 14:38:20 +01:00 committed by Bernhard Miklautz
parent 91ef44ed35
commit 5b9290fc6c

View File

@ -1133,8 +1133,7 @@ BOOL freerdp_client_send_button_event(rdpClientContext* cctx, BOOL relative, UIN
{
cctx->lastX += x;
cctx->lastY += y;
WLog_WARN(TAG, "Relative mouse input but channel %s not available, sending absolute!",
AINPUT_DVC_CHANNEL_NAME);
WLog_WARN(TAG, "Relative mouse input channel not available, sending absolute!");
}
else
{
@ -1177,8 +1176,7 @@ BOOL freerdp_client_send_extended_button_event(rdpClientContext* cctx, BOOL rela
{
cctx->lastX += x;
cctx->lastY += y;
WLog_WARN(TAG, "Relative mouse input but channel %s not available, sending absolute!",
AINPUT_DVC_CHANNEL_NAME);
WLog_WARN(TAG, "Relative mouse input channel not available, sending absolute!");
}
else
{