[PATCH synaptics 12/17] eventcomm: fix indentation in EventAutoDevProbe

Peter Hutterer peter.hutterer at who-t.net
Sun Mar 20 19:08:29 PDT 2011


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/eventcomm.c |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/eventcomm.c b/src/eventcomm.c
index 3d69566..41dd669 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -545,12 +545,14 @@ EventAutoDevProbe(InputInfoPtr pInfo)
 		}
 		free(namelist[i]);
     }
-	free(namelist);
 
-	if (!touchpad_found) {
-		xf86Msg(X_ERROR, "%s no synaptics event device found\n", pInfo->name);
-		return FALSE;
-	}
+    free(namelist);
+
+    if (!touchpad_found) {
+	xf86Msg(X_ERROR, "%s no synaptics event device found\n", pInfo->name);
+	return FALSE;
+    }
+
     return TRUE;
 }
 
-- 
1.7.4



More information about the xorg-devel mailing list