From d4d17bdb80a32bba1d89e21ebc11402444537c57 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 22 Jan 2022 12:07:26 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- src/impact.h | 2 +- src/impact_driver.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/impact.h b/src/impact.h index 31f69c6..ace26dd 100644 --- a/src/impact.h +++ b/src/impact.h @@ -68,7 +68,7 @@ typedef struct { /* for 8bpp ... */ unsigned pseudo_palette[256]; - /* wrapped funtions: */ + /* wrapped functions: */ CloseScreenProcPtr CloseScreen; /* impact register backups: */ diff --git a/src/impact_driver.c b/src/impact_driver.c index eada857..cc99a70 100644 --- a/src/impact_driver.c +++ b/src/impact_driver.c @@ -433,7 +433,7 @@ ImpactPreInit(ScrnInfoPtr pScrn, int flags) goto out_freeopt; } - /* Set up clock ranges that are alway ok */ + /* Set up clock ranges that are always ok */ /* XXX: Use information from VC2 here */ clockRanges = xnfalloc(sizeof(ClockRange)); @@ -574,7 +574,7 @@ ImpactScreenInit(int index, ScreenPtr pScreen, int argc, char **argv) if ( !miCreateDefColormap(pScreen) ) goto out_freerec; - /* Install our LoadPalette funciton */ + /* Install our LoadPalette function */ if ( !xf86HandleColormaps(pScreen, 256, 8, ImpactLoadPalette, 0, CMAP_RELOAD_ON_MODE_SWITCH) ) goto out_freerec; -- cgit v1.2.3