From b90cfb94d68f156767d0eec818c9a2aab487422e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 17 Jan 2022 15:25:05 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- src/ast_cursor.c | 2 +- src/ast_driver.c | 6 +++--- src/ast_mode.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ast_cursor.c b/src/ast_cursor.c index 5031aac..55bf208 100644 --- a/src/ast_cursor.c +++ b/src/ast_cursor.c @@ -440,7 +440,7 @@ ASTFireCursor(ScrnInfoPtr pScrn) { ASTRecPtr pAST = ASTPTR(pScrn); - SetIndexRegMask(CRTC_PORT, 0xCB, 0xFF, 0x00); /* dummp write to fire HWC */ + SetIndexRegMask(CRTC_PORT, 0xCB, 0xFF, 0x00); /* dummy write to fire HWC */ } diff --git a/src/ast_driver.c b/src/ast_driver.c index 120b94c..57a859c 100644 --- a/src/ast_driver.c +++ b/src/ast_driver.c @@ -387,7 +387,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) MessageType from; int maxPitch, maxHeight; - /* Suport one adapter only now */ + /* Support one adapter only now */ if (pScrn->numEntities != 1) return FALSE; @@ -705,7 +705,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) pScrn->display->virtualX, pScrn->display->virtualY, pAST->FbMapSize, LOOKUP_BEST_REFRESH); - /* fixed some monitors can't get propery validate modes using estimated ratio modes */ + /* fixed some monitors can't get properly validated modes using estimated ratio modes */ if (i < 2) /* validate modes are too few */ { i = xf86ValidateModes(pScrn, pScrn->monitor->Modes, @@ -737,7 +737,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags) xf86SetDpi(pScrn, 0, 0); - /* Accelaration Check */ + /* Acceleration Check */ pAST->noAccel = TRUE; pAST->pCMDQPtr = NULL; pAST->CMDQInfo.ulCMDQSize = 0; diff --git a/src/ast_mode.h b/src/ast_mode.h index 68b7581..a054100 100644 --- a/src/ast_mode.h +++ b/src/ast_mode.h @@ -85,7 +85,7 @@ #define DAC_NUM_EGA 64 #define DAC_NUM_VGA 256 -/* Data Structure decalration for internal use */ +/* Data Structure declaration for internal use */ typedef struct { UCHAR MISC; -- cgit v1.2.3