Skip to content

Commit

Permalink
Add missing ErrorF() newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
CendioOssman committed Jun 19, 2024
1 parent bc0461f commit 5322b8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unix/xserver/hw/vnc/xvnc.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,14 +670,14 @@ vncRandRScreenSetSize(ScreenPtr pScreen,
ret = vncRandRCrtcSet(pScreen, crtc, NULL,
crtc->x, crtc->y, crtc->rotation, 0, NULL);
if (!ret)
ErrorF("Warning: Unable to disable CRTC that is outside of new screen dimensions");
ErrorF("Warning: Unable to disable CRTC that is outside of new screen dimensions\n");
continue;
}

/* Just needs to be resized to a temporary mode */
mode = vncRandRModeGet(width - crtc->x, height - crtc->y);
if (mode == NULL) {
ErrorF("Warning: Unable to create custom mode for %dx%d",
ErrorF("Warning: Unable to create custom mode for %dx%d\n",
width - crtc->x, height - crtc->y);
continue;
}
Expand All @@ -687,7 +687,7 @@ vncRandRScreenSetSize(ScreenPtr pScreen,
crtc->numOutputs, crtc->outputs);
RRModeDestroy(mode);
if (!ret)
ErrorF("Warning: Unable to crop CRTC to new screen dimensions");
ErrorF("Warning: Unable to crop CRTC to new screen dimensions\n");
}

return TRUE;
Expand Down

0 comments on commit 5322b8f

Please sign in to comment.