Whitespace and minor code cleanup
This is by no means comprehensive, but is quite a bit better already.
Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
diff --git a/minuitwrp/events.c b/minuitwrp/events.c
index eb14907..bd55e5a 100644
--- a/minuitwrp/events.c
+++ b/minuitwrp/events.c
@@ -184,9 +184,9 @@
close(vk_fd);
if (len <= 0)
return -1;
-
+
vks[len] = '\0';
-
+
/* Parse a line like:
keytype:keycode:centerx:centery:width:height:keytype2:keycode2:centerx2:...
*/
@@ -660,7 +660,7 @@
vibrate(VIBRATOR_TIME_MS);
- // Mark that all further movement until lift is discard,
+ // Mark that all further movement until lift is discard,
// and make sure we don't come back into this area
discard = 1;
downX = 0;