summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2014-08-16 10:48:03 +0200
committerJohannes Schindelin <johannes.schindelin@gmx.de>2014-08-16 10:49:38 +0200
commit27b0c0deb79de78a693d335880b8908131c255df (patch)
tree15fe523baaebcf3a5161d8ea99a984fba0887686
parentba710eb145bd2a9bb14bc316eb6ff645f004b06c (diff)
downloadlibtdevnc-27b0c0de.tar.gz
libtdevnc-27b0c0de.zip
Fix indentation
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r--libvncclient/rfbproto.c4
-rw-r--r--libvncclient/vncviewer.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index f55c74f..9d48b16 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -1829,8 +1829,8 @@ HandleRFBServerMessage(rfbClient* client)
client->updateRect.x = client->updateRect.y = 0;
client->updateRect.w = client->width;
client->updateRect.h = client->height;
- if (!client->MallocFrameBuffer(client))
- return FALSE;
+ if (!client->MallocFrameBuffer(client))
+ return 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);
continue;
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 65b7412..8237254 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -82,7 +82,7 @@ static char* ReadPassword(rfbClient* client) {
#endif
}
static rfbBool MallocFrameBuffer(rfbClient* client) {
-uint64_t allocSize;
+ uint64_t allocSize;
if(client->frameBuffer)
free(client->frameBuffer);