Commit 27b0c0de authored by Johannes Schindelin's avatar Johannes Schindelin

Fix indentation

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent ba710eb1
...@@ -1829,8 +1829,8 @@ HandleRFBServerMessage(rfbClient* client) ...@@ -1829,8 +1829,8 @@ HandleRFBServerMessage(rfbClient* client)
client->updateRect.x = client->updateRect.y = 0; client->updateRect.x = client->updateRect.y = 0;
client->updateRect.w = client->width; client->updateRect.w = client->width;
client->updateRect.h = client->height; client->updateRect.h = client->height;
if (!client->MallocFrameBuffer(client)) if (!client->MallocFrameBuffer(client))
return FALSE; return FALSE;
SendFramebufferUpdateRequest(client, 0, 0, rect.r.w, rect.r.h, FALSE); SendFramebufferUpdateRequest(client, 0, 0, rect.r.w, rect.r.h, FALSE);
rfbClientLog("Got new framebuffer size: %dx%d\n", rect.r.w, rect.r.h); rfbClientLog("Got new framebuffer size: %dx%d\n", rect.r.w, rect.r.h);
continue; continue;
......
...@@ -82,7 +82,7 @@ static char* ReadPassword(rfbClient* client) { ...@@ -82,7 +82,7 @@ static char* ReadPassword(rfbClient* client) {
#endif #endif
} }
static rfbBool MallocFrameBuffer(rfbClient* client) { static rfbBool MallocFrameBuffer(rfbClient* client) {
uint64_t allocSize; uint64_t allocSize;
if(client->frameBuffer) if(client->frameBuffer)
free(client->frameBuffer); free(client->frameBuffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment