diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2023-05-15 09:56:15 +0200 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2023-05-15 10:33:21 +0200 |
commit | 2713383548cc1abf4f578f8d2623da91c52dde84 (patch) | |
tree | 7b88c6caa19effd4f6e2f52c2d5ca67f6199d201 | |
parent | c107ee41f91c0fac1768a95ff04cdaf3f43c3325 (diff) | |
download | xserver-2713383548cc1abf4f578f8d2623da91c52dde84.tar.gz |
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
-rw-r--r-- | hw/xwayland/xwayland-cvt.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hw/xwayland/xwayland-cvt.c b/hw/xwayland/xwayland-cvt.c index 0fc4ae82a..d052471eb 100644 --- a/hw/xwayland/xwayland-cvt.c +++ b/hw/xwayland/xwayland-cvt.c @@ -30,9 +30,9 @@ #include "xwayland-cvt.h" static void -xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo, - int hdisplay, int vdisplay, float vrefresh, - Bool reduced, Bool interlaced) +xwayland_modeinfo_from_cvt(xRRModeInfo *modeinfo, + int hdisplay, int vdisplay, float vrefresh, + Bool reduced, Bool interlaced) { struct libxcvt_mode_info *libxcvt_mode_info; @@ -54,8 +54,8 @@ xwayland_modinfo_from_cvt(xRRModeInfo *modeinfo, } static void -xwayland_modinfo_from_values(xRRModeInfo *modeinfo, - int hdisplay, int vdisplay, float vrefresh) +xwayland_modeinfo_from_values(xRRModeInfo *modeinfo, + int hdisplay, int vdisplay, float vrefresh) { modeinfo->width = hdisplay; modeinfo->height = vdisplay; @@ -71,8 +71,8 @@ xwayland_cvt(int hdisplay, int vdisplay, float vrefresh, Bool reduced, char name[128]; xRRModeInfo modeinfo = { 0, }; - xwayland_modinfo_from_cvt(&modeinfo, - hdisplay, vdisplay, vrefresh, reduced, interlaced); + xwayland_modeinfo_from_cvt(&modeinfo, + hdisplay, vdisplay, vrefresh, reduced, interlaced); /* Horizontal granularity in libxcvt is 8, so if our horizontal size is not * divisible by 8, libxcvt will round it down, and we will advertise a wrong @@ -80,8 +80,8 @@ 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, - hdisplay, vdisplay, vrefresh); + xwayland_modeinfo_from_values(&modeinfo, + hdisplay, vdisplay, vrefresh); } snprintf(name, sizeof name, "%dx%d", |