xwayland: Fix spelling of modeinfo in function name

Commit ad2d461de „xwayland: Do not round non-standard mode“ introduced a
spelling error in the names of the local functions.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Fixes: ad2d461de - xwayland: Do not round non-standard modes
This commit is contained in:
Olivier Fourdan 2023-05-15 09:56:15 +02:00
parent c107ee41f9
commit 2713383548

View File

@ -30,7 +30,7 @@
#include "xwayland-cvt.h"
static void
xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo,
xwayland_modeinfo_from_cvt(xRRModeInfo *modeinfo,
int hdisplay, int vdisplay, float vrefresh,
Bool reduced, Bool interlaced)
{
@ -54,7 +54,7 @@ xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo,
}
static void
xwayland_modinfo_from_values(xRRModeInfo *modeinfo,
xwayland_modeinfo_from_values(xRRModeInfo *modeinfo,
int hdisplay, int vdisplay, float vrefresh)
{
modeinfo->width = hdisplay;
@ -71,7 +71,7 @@ xwayland_cvt(int hdisplay, int vdisplay, float vrefresh, Bool reduced,
char name[128];
xRRModeInfo modeinfo = { 0, };
xwayland_modinfo_from_cvt(&modeinfo,
xwayland_modeinfo_from_cvt(&modeinfo,
hdisplay, vdisplay, vrefresh, reduced, interlaced);
/* Horizontal granularity in libxcvt is 8, so if our horizontal size is not
@ -80,7 +80,7 @@ xwayland_cvt(int hdisplay, int vdisplay, float vrefresh, Bool reduced,
*/
if (modeinfo.width != hdisplay || modeinfo.height != vdisplay) {
memset(&modeinfo, 0, sizeof(xRRModeInfo));
xwayland_modinfo_from_values(&modeinfo,
xwayland_modeinfo_from_values(&modeinfo,
hdisplay, vdisplay, vrefresh);
}