[PATCH 14/18] miext: fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sat Apr 2 18:53:27 UTC 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 miext/rootless/rootless.h       | 2 +-
 miext/rootless/rootlessWindow.c | 2 +-
 miext/shadow/shadow.c           | 2 +-
 miext/shadow/shalloc.c          | 2 +-
 miext/sync/misyncstr.h          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/miext/rootless/rootless.h b/miext/rootless/rootless.h
index 1be61cd..16035a3 100644
--- a/miext/rootless/rootless.h
+++ b/miext/rootless/rootless.h
@@ -41,7 +41,7 @@
 
 /*
    Each top-level rootless window has a one-to-one correspondence to a physical
-   on-screen window. The physical window is refered to as a "frame".
+   on-screen window. The physical window is referred to as a "frame".
  */
 
 typedef void *RootlessFrameID;
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index e304299..9373979 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -561,7 +561,7 @@ RootlessReorderWindow(WindowPtr pWin)
 
         /* Find the next window above this one that has a mapped frame.
          * Only include cases where the windows are in the same category of
-         * hittability to ensure offscreen windows dont get restacked
+         * hittability to ensure offscreen windows don't get restacked
          * relative to onscreen ones (but that the offscreen ones maintain
          * their stacking order if they are explicitly asked to Reorder
          */
diff --git a/miext/shadow/shadow.c b/miext/shadow/shadow.c
index 0dd3604a..e01b775 100644
--- a/miext/shadow/shadow.c
+++ b/miext/shadow/shadow.c
@@ -85,7 +85,7 @@ shadowGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
 
     shadowBuf(pScreen);
 
-    /* Many apps use GetImage to sync with the visable frame buffer */
+    /* Many apps use GetImage to sync with the visible frame buffer */
     if (pDrawable->type == DRAWABLE_WINDOW)
         shadowRedisplay(pScreen);
     unwrap(pBuf, pScreen, GetImage);
diff --git a/miext/shadow/shalloc.c b/miext/shadow/shalloc.c
index 6a79085..206c328 100644
--- a/miext/shadow/shalloc.c
+++ b/miext/shadow/shalloc.c
@@ -42,7 +42,7 @@ shadowAlloc(int width, int height, int bpp)
     int stride;
     void *fb;
 
-    /* Cant use PixmapBytePad -- the structure is probably not initialized yet */
+    /* Can't use PixmapBytePad -- the structure is probably not initialized yet */
     stride = BitmapBytePad(width * bpp);
     fb = xallocarray(stride, height);
     return fb;
diff --git a/miext/sync/misyncstr.h b/miext/sync/misyncstr.h
index ad69e8e..0ea8dbc 100644
--- a/miext/sync/misyncstr.h
+++ b/miext/sync/misyncstr.h
@@ -65,7 +65,7 @@ struct _SyncTrigger {
     SyncObject *pSync;
     CARD64 wait_value;          /* wait value */
     unsigned int value_type;    /* Absolute or Relative */
-    unsigned int test_type;     /* transition or Comparision type */
+    unsigned int test_type;     /* transition or Comparison type */
     CARD64 test_value;          /* trigger event threshold value */
     Bool (*CheckTrigger) (struct _SyncTrigger * /*pTrigger */ ,
                           CARD64        /*newval */
-- 
2.8.0



More information about the xorg-devel mailing list