diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-22 13:13:46 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-22 13:13:46 -0800 |
commit | f3cc137e20253a16659f9ef978139979dea61113 (patch) | |
tree | ac0d343de02c3a1e3108d8f18d5e33bfcbe53a44 | |
parent | 3c8ce1f98a7e72593856bb296e53365baf31b231 (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/neo_2070.c | 2 | ||||
-rw-r--r-- | src/neo_2090.c | 2 | ||||
-rw-r--r-- | src/neo_2097.c | 2 | ||||
-rw-r--r-- | src/neo_driver.c | 6 | ||||
-rw-r--r-- | src/neo_video.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/neo_2070.c b/src/neo_2070.c index 4767b7d..e57fd17 100644 --- a/src/neo_2070.c +++ b/src/neo_2070.c @@ -143,7 +143,7 @@ Neo2070AccelInit(ScreenPtr pScreen) * Setup some global variables */ - /* Initialize for 8bpp or 15/16bpp support accellerated */ + /* Initialize for 8bpp or 15/16bpp support accelerated */ switch (pScrn->bitsPerPixel) { case 8: nAcl->BltCntlFlags = NEO_BC1_DEPTH8; diff --git a/src/neo_2090.c b/src/neo_2090.c index 2f1efc8..2969510 100644 --- a/src/neo_2090.c +++ b/src/neo_2090.c @@ -165,7 +165,7 @@ Neo2090AccelInit(ScreenPtr pScreen) */ nAcl->ColorShiftAmt = 0; - /* Initialize for 8bpp or 15/16bpp support accellerated */ + /* Initialize for 8bpp or 15/16bpp support accelerated */ switch (pScrn->bitsPerPixel) { case 8: nAcl->BltCntlFlags = NEO_BC1_DEPTH8; diff --git a/src/neo_2097.c b/src/neo_2097.c index 399ace0..17df75b 100644 --- a/src/neo_2097.c +++ b/src/neo_2097.c @@ -219,7 +219,7 @@ Neo2097AccelInit(ScreenPtr pScreen) */ nAcl->ColorShiftAmt = 0; - /* Initialize for 8bpp or 15/16bpp support accellerated */ + /* Initialize for 8bpp or 15/16bpp support accelerated */ switch (pScrn->bitsPerPixel) { case 8: nAcl->BltCntlFlags = NEO_BC1_DEPTH8; diff --git a/src/neo_driver.c b/src/neo_driver.c index 4301881..0858562 100644 --- a/src/neo_driver.c +++ b/src/neo_driver.c @@ -1074,7 +1074,7 @@ NEOPreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex,X_CONFIG, "Video modes are centered on the display\n"); if (nPtr->swCursor) - xf86DrvMsg(pScrn->scrnIndex,X_CONFIG, "using sofware cursor\n"); + xf86DrvMsg(pScrn->scrnIndex,X_CONFIG, "using software cursor\n"); if (nPtr->noMMIO) xf86DrvMsg(pScrn->scrnIndex,X_CONFIG, "MMIO mode disabled\n"); if (nPtr->onPciBurst) @@ -1084,7 +1084,7 @@ NEOPreInit(ScrnInfoPtr pScrn, int flags) "Option StrangeLockups set: disabling some acceleration\n"); if (nPtr->showcache) xf86DrvMsg(pScrn->scrnIndex,X_CONFIG, - "Show chache for debugging\n"); + "Show cache for debugging\n"); if (!xf86LoadSubModule(pScrn, "xaa")) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Falling back to shadow\n"); @@ -2787,7 +2787,7 @@ neoModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode) } /* - * If the screen is to be centerd, turn on the centering for the + * If the screen is to be centered, turn on the centering for the * various modes. */ NeoNew->PanelVertCenterReg1 = 0x00; diff --git a/src/neo_video.c b/src/neo_video.c index be60421..206255a 100644 --- a/src/neo_video.c +++ b/src/neo_video.c @@ -804,7 +804,7 @@ NEODisplayVideo(ScrnInfoPtr pScrn, int id, int offset, if (dstBox->x2 >= pScrn->virtualX) { /* * This is a hack to work around a problem when video is moved - * accross the right border. + * across the right border. */ int diff_s = (width - ((x2 - x1) >> 16)) & ~1; int diff_d = (drw_w - dstBox->x2 + dstBox->x1) & ~1; |