Fix indentation

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
Johannes Schindelin 10 years ago
parent ba710eb145
commit 27b0c0deb7

@ -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) {
#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);

Loading…
Cancel
Save