Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
diff --git a/src/compositor-x11.c b/src/compositor-x11.c
index 3565677..1c9c2f1 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -511,7 +511,7 @@
xcb_atom_t list[1];
list[0] = c->atom.wm_delete_window;
- xcb_change_property (c->conn,
+ xcb_change_property (c->conn,
XCB_PROP_MODE_REPLACE,
output->window,
c->atom.wm_protocols,
diff --git a/src/libbacklight.c b/src/libbacklight.c
index 54f3318..722d66f 100644
--- a/src/libbacklight.c
+++ b/src/libbacklight.c
@@ -259,7 +259,7 @@
parent = basename(buffer);
- /* Perform matching for raw and firmware backlights -
+ /* Perform matching for raw and firmware backlights -
platform backlights have to be assumed to match */
if (entry_type == BACKLIGHT_RAW ||
entry_type == BACKLIGHT_FIRMWARE) {
diff --git a/src/libbacklight.h b/src/libbacklight.h
index 0c32671..0d3293d 100644
--- a/src/libbacklight.h
+++ b/src/libbacklight.h
@@ -5,7 +5,7 @@
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
enum backlight_type {
BACKLIGHT_RAW,
diff --git a/src/weston-launch.c b/src/weston-launch.c
index 10c66de..52c89d3 100644
--- a/src/weston-launch.c
+++ b/src/weston-launch.c
@@ -114,7 +114,7 @@
{
int n;
gid_t *groups;
-
+
n = getgroups(0, NULL);
if (n < 0) {
@@ -174,7 +174,7 @@
free(session);
}
#endif
-
+
return false;
}
@@ -224,7 +224,7 @@
{
if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, wl->sock) < 0)
error(1, errno, "socketpair failed");
-
+
if (fcntl(wl->sock[0], F_SETFD, FD_CLOEXEC) < 0)
error(1, errno, "fcntl failed");
@@ -531,7 +531,7 @@
error(1, errno, "could not open tty0");
if (ioctl(tty0, VT_OPENQRY, &wl->ttynr) < 0 || wl->ttynr == -1)
- error(1, errno, "failed to find non-opened console");
+ error(1, errno, "failed to find non-opened console");
snprintf(filename, sizeof filename, "/dev/tty%d", wl->ttynr);
wl->tty = open(filename, O_RDWR | O_NOCTTY);
@@ -680,7 +680,7 @@
{ "verbose", no_argument, NULL, 'v' },
{ "help", no_argument, NULL, 'h' },
{ 0, 0, NULL, 0 }
- };
+ };
memset(&wl, 0, sizeof wl);