indent-all.sh

This commit is contained in:
remijouannet 2016-05-24 18:02:22 +02:00
parent 0f0f64a97e
commit b46639ad3c
4 changed files with 9 additions and 6 deletions

View File

@ -684,9 +684,12 @@ main(int argc, char *argv[])
g_sizeopt = -g_width; g_sizeopt = -g_width;
g_width = g_sizeopt; g_width = g_sizeopt;
if (*(p + 1) == 'x'){ if (*(p + 1) == 'x')
{
g_height = -strtol(p + 2, &p, 10); g_height = -strtol(p + 2, &p, 10);
}else{ }
else
{
g_height = g_sizeopt; g_height = g_sizeopt;
} }

View File

@ -264,7 +264,7 @@ sgi_play(void)
return; return;
packet = rdpsnd_queue_current_packet(); packet = rdpsnd_queue_current_packet();
out = (STREAM)(void *)&(packet->s); out = (STREAM) (void *) &(packet->s);
len = out->end - out->p; len = out->end - out->p;

View File

@ -1180,7 +1180,7 @@ TS_SCardGetStatusChange(STREAM in, STREAM out, RD_BOOL wide)
but is by Windows PCSC spec. used for polling current state. but is by Windows PCSC spec. used for polling current state.
*/ */
if (dwTimeout == 0) if (dwTimeout == 0)
dwTimeout = 1; dwTimeout = 1;
rv = SCardGetStatusChange(myHContext, (MYPCSC_DWORD) dwTimeout, rv = SCardGetStatusChange(myHContext, (MYPCSC_DWORD) dwTimeout,
myRsArray, (MYPCSC_DWORD) dwCount); myRsArray, (MYPCSC_DWORD) dwCount);
copyReaderState_MyPCSCToServer(myRsArray, rsArray, (MYPCSC_DWORD) dwCount); copyReaderState_MyPCSCToServer(myRsArray, rsArray, (MYPCSC_DWORD) dwCount);

View File

@ -549,8 +549,8 @@ seamless_send_persistent(RD_BOOL enable)
unsigned int res; unsigned int res;
if (!g_seamless_rdp) if (!g_seamless_rdp)
return (unsigned int) -1; 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); res = seamless_send("PERSISTENT", "%d", enable);
return res; return res;
} }