From e3af3c55f1279b5fc5bdf0a69f38aeb0727a8788 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 6 Feb 2019 10:07:20 -0500 Subject: [PATCH] ecore-drm2: Minor formatting fixes. NB: No functional changes --- src/lib/ecore_drm2/ecore_drm2_outputs.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c index a28e1a3..557e33f 100644 --- a/src/lib/ecore_drm2/ecore_drm2_outputs.c +++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c @@ -1344,8 +1344,8 @@ ecore_drm2_output_mode_set(Ecore_Drm2_Output *output, Ecore_Drm2_Output_Mode *mo else buffer = output->ocrtc->buffer_id; - if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer, - 0, 0, &output->conn_id, 1, &mode->info) < 0) + if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer, 0, 0, + &output->conn_id, 1, &mode->info) < 0) { ERR("Failed to set Mode %dx%d for Output %s: %m", mode->width, mode->height, output->name); @@ -1548,8 +1548,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation) pstate->rotation.id, rotation); if (res < 0) goto err; - res = sym_drmModeAtomicCommit(output->fd, req, flags, - output); + res = sym_drmModeAtomicCommit(output->fd, req, flags, output); if (res < 0) goto err; else -- 2.7.4