From 7e210b8b981b01f4fe75c7bd4eef07881d3aa4d6 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Fri, 30 Jul 2004 20:19:32 +0200 Subject: Whitespace fixes. --- synclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'synclient.c') diff --git a/synclient.c b/synclient.c index a2cbe19..3b4105e 100644 --- a/synclient.c +++ b/synclient.c @@ -214,7 +214,7 @@ static void monitor(SynapticsSHM* synshm, int delay) memset(&old, 0, sizeof(SynapticsSHM)); old.x = -1; /* Force first equality test to fail */ - while(1) { + while (1) { SynapticsSHM cur = *synshm; if (!is_equal(&old, &cur)) { if (!header) { @@ -292,7 +292,7 @@ int main(int argc, char* argv[]) usage(); /* Connect to the shared memory area */ - if((shmid = shmget(SHM_SYNAPTICS, sizeof(SynapticsSHM), 0)) == -1) { + if ((shmid = shmget(SHM_SYNAPTICS, sizeof(SynapticsSHM), 0)) == -1) { if ((shmid = shmget(SHM_SYNAPTICS, 0, 0)) == -1) { fprintf(stderr, "Can't access shared memory area. SHMConfig disabled?\n"); exit(1); @@ -301,7 +301,7 @@ int main(int argc, char* argv[]) exit(1); } } - if((synshm = (SynapticsSHM*) shmat(shmid, NULL, 0)) == NULL) { + if ((synshm = (SynapticsSHM*) shmat(shmid, NULL, 0)) == NULL) { perror("shmat"); exit(1); } -- cgit v1.2.3