[PATCH weston 3/3] clients: Remove stray new-line
Jonas Ådahl
jadahl at gmail.com
Mon Jan 26 02:19:07 PST 2015
Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
clients/subsurfaces.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c
index e0a5010..438b992 100644
--- a/clients/subsurfaces.c
+++ b/clients/subsurfaces.c
@@ -256,8 +256,7 @@ egl_make_swapbuffers_nonblock(struct egl_state *egl)
if (!eglGetConfigAttrib(egl->dpy, egl->conf, a, &a) ||
!eglGetConfigAttrib(egl->dpy, egl->conf, b, &b)) {
fprintf(stderr, "warning: swap interval range unknown\n");
- } else
- if (a > 0) {
+ } else if (a > 0) {
fprintf(stderr, "warning: minimum swap interval is %d, "
"while 0 is required to not deadlock on resize.\n", a);
}
--
2.1.0
More information about the wayland-devel
mailing list