Skip to content

Commit

Permalink
indent-all.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
remijouannet committed May 24, 2016
1 parent 0f0f64a commit b46639a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions rdesktop.c
Expand Up @@ -684,9 +684,12 @@ main(int argc, char *argv[])
g_sizeopt = -g_width;
g_width = g_sizeopt;

if (*(p + 1) == 'x'){
if (*(p + 1) == 'x')
{
g_height = -strtol(p + 2, &p, 10);
}else{
}
else
{
g_height = g_sizeopt;
}

Expand Down
2 changes: 1 addition & 1 deletion rdpsnd_sgi.c
Expand Up @@ -264,7 +264,7 @@ sgi_play(void)
return;

packet = rdpsnd_queue_current_packet();
out = (STREAM)(void *)&(packet->s);
out = (STREAM) (void *) &(packet->s);

len = out->end - out->p;

Expand Down
2 changes: 1 addition & 1 deletion scard.c
Expand Up @@ -1180,7 +1180,7 @@ TS_SCardGetStatusChange(STREAM in, STREAM out, RD_BOOL wide)
but is by Windows PCSC spec. used for polling current state.
*/
if (dwTimeout == 0)
dwTimeout = 1;
dwTimeout = 1;
rv = SCardGetStatusChange(myHContext, (MYPCSC_DWORD) dwTimeout,
myRsArray, (MYPCSC_DWORD) dwCount);
copyReaderState_MyPCSCToServer(myRsArray, rsArray, (MYPCSC_DWORD) dwCount);
Expand Down
4 changes: 2 additions & 2 deletions seamless.c
Expand Up @@ -549,8 +549,8 @@ seamless_send_persistent(RD_BOOL enable)
unsigned int res;
if (!g_seamless_rdp)
return (unsigned int) -1;
printf("%s persistent seamless mode.\n", enable?"Enable":"Disable");
printf("%s persistent seamless mode.\n", enable ? "Enable" : "Disable");
res = seamless_send("PERSISTENT", "%d", enable);

return res;
}

0 comments on commit b46639a

Please sign in to comment.