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_width = g_sizeopt;
if (*(p + 1) == 'x'){
if (*(p + 1) == 'x')
{
g_height = -strtol(p + 2, &p, 10);
}else{
}
else
{
g_height = g_sizeopt;
}

View File

@ -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;

View File

@ -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;