summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-01-26 18:19:07 +0800
committerBryce Harrington <bryce@osg.samsung.com>2015-01-26 11:52:18 -0800
commit6c3bd9c7c39da723bf146153cf97b89b2e8012d3 (patch)
tree05102a46cb85c1f27cd5ef4823bb529c3b7266fd
parent836b9c7177c37852819c5b771008024935080032 (diff)
clients: Remove stray new-line
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r--clients/subsurfaces.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c
index 833030f0..fcbe496f 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);
}