diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-17 14:57:22 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-17 14:57:22 -0800 |
commit | d974aa419c1da34ac16dbb5bb97f985e0d177a51 (patch) | |
tree | 758842eaa84a19594b7a099b9804d5bc1d0b05ea | |
parent | 9c9a53c9ca6a114df303ab71ca852cae13ee323c (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-- | README | 2 | ||||
-rw-r--r-- | src/ark_driver.c | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -9,7 +9,7 @@ Xorg mailing list: http://lists.freedesktop.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ark diff --git a/src/ark_driver.c b/src/ark_driver.c index 65cfe84..eb507c8 100644 --- a/src/ark_driver.c +++ b/src/ark_driver.c @@ -74,7 +74,7 @@ Bool ARKCloseScreen(CLOSE_SCREEN_ARGS_DECL); Bool ARKSaveScreen(ScreenPtr pScreen, int mode); static void ARKFreeScreen(FREE_SCREEN_ARGS_DECL); static void ARKLoadPalette(ScrnInfoPtr pScrn, int numColors, - int *indicies, LOCO *colors, + int *indices, LOCO *colors, VisualPtr pVisual); static void ARKWriteMode(ScrnInfoPtr pScrn, vgaRegPtr pVga, ARKRegPtr new); @@ -927,7 +927,7 @@ static void ARKWriteMode(ScrnInfoPtr pScrn, vgaRegPtr pVga, ARKRegPtr new) wrinx(isaIOBase + 0x3c4, 0x16, 0x00); /* write the extended registers first so that textmode font - * restoration can suceed + * restoration can succeed */ wrinx(isaIOBase + 0x3c4, 0x10, new->sr10); wrinx(isaIOBase + 0x3c4, 0x11, new->sr11); @@ -1045,7 +1045,7 @@ static Bool ARKMapMem(ScrnInfoPtr pScrn) if (err) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, - "Cound not map framebuffer: %d\n", err); + "Could not map framebuffer: %d\n", err); return FALSE; } } @@ -1053,7 +1053,7 @@ static Bool ARKMapMem(ScrnInfoPtr pScrn) if (!pARK->FBBase) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, - "Cound not map framebuffer\n"); + "Could not map framebuffer\n"); return FALSE; } @@ -1113,7 +1113,7 @@ Bool ARKSwitchMode(SWITCH_MODE_ARGS_DECL) static void ARKLoadPalette(ScrnInfoPtr pScrn, int numColors, - int *indicies, LOCO *colors, + int *indices, LOCO *colors, VisualPtr pVisual) { unsigned long isaIOBase = 0; @@ -1123,7 +1123,7 @@ static void ARKLoadPalette(ScrnInfoPtr pScrn, int numColors, int i, index; for (i=0; i<numColors; i++) { - index = indicies[i]; + index = indices[i]; outb(isaIOBase + 0x3c8, index); outb(isaIOBase + 0x3c9, colors[index].red); outb(isaIOBase + 0x3c9, colors[index].green); |