From 68212b86094a6c53e374942381fefa8a036304d2 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 26 Oct 2017 15:19:48 +1100 Subject: [PATCH] [client] cosmetics --- client/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/main.c b/client/main.c index b3e2600a..728b6ecc 100644 --- a/client/main.c +++ b/client/main.c @@ -124,7 +124,7 @@ void compFunc_BLACK_RLE(uint8_t * dst, const uint8_t * src, const size_t len) for(size_t i = 0; i < pixels;) { if (!src[0] && !src[1] && !src[2]) - { + { struct RLEHeader * h = (struct RLEHeader *)src; dst += h->length * 3; i += h->length; @@ -272,7 +272,7 @@ int renderThread(void * unused) bool ready = false; bool error = false; while(state.running && !ready && !error) - { + { // kick the guest and wait for a frame switch(ivshmem_wait_irq(0)) { @@ -288,7 +288,7 @@ int renderThread(void * unused) case IVSHMEM_WAIT_RESULT_ERROR: error = true; break; - } + } } if (error)