indent-all.sh
This commit is contained in:
parent
0f0f64a97e
commit
b46639ad3c
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
2
scard.c
2
scard.c
@ -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);
|
||||
|
@ -549,7 +549,7 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user