From e786dbd60f02ded553181085b497d9ca2619be9d Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 22 Oct 2014 17:04:20 +0100 Subject: [PATCH] fixed code style --- src/micro/uSynergy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/micro/uSynergy.c b/src/micro/uSynergy.c index dda97bc3..439b917a 100644 --- a/src/micro/uSynergy.c +++ b/src/micro/uSynergy.c @@ -338,7 +338,8 @@ static void sProcessMessage(uSynergyContext *context, const uint8_t *message) { // Mouse relative. Reply with CNOP // kMsgDMouseRelMove = "DMRM%2i%2i" - sSendMouseRelativeCallback(context, sNetToNative16(message+8), sNetToNative16(message+10)); + sSendMouseRelativeCallback(context, sNetToNative16(message+8), + sNetToNative16(message+10)); } else if (USYNERGY_IS_PACKET("DMWM")) { @@ -535,7 +536,7 @@ static void sUpdateContext(uSynergyContext *context) for (;;) { /* If less than 4 bytes left in buffer, we can't even get the next packet length yet */ - if(context->m_receiveOfs < 4) + if (context->m_receiveOfs < 4) return; /* Grab packet length and bail out if the packet goes beyond the end of the buffer */