Francois Gouget : usp10: Fix the spelling of some comments.

Alexandre Julliard julliard at winehq.org
Thu Dec 12 16:29:41 CST 2019


Module: wine
Branch: master
Commit: bd2cc27d55727fecadcc677ccb099d544d2de7ea
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bd2cc27d55727fecadcc677ccb099d544d2de7ea

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Dec 12 11:22:14 2019 +0100

usp10: Fix the spelling of some comments.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/usp10/bidi.c  | 4 ++--
 dlls/usp10/shape.c | 2 +-
 dlls/usp10/usp10.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/usp10/bidi.c b/dlls/usp10/bidi.c
index 34ca955dcb..e1d0a11697 100644
--- a/dlls/usp10/bidi.c
+++ b/dlls/usp10/bidi.c
@@ -72,7 +72,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(bidi);
     Note:
 
       The list of bidirectional character types here is not grouped the
-      same way as the table 3-7, since the numberic values for the types
+      same way as the table 3-7, since the numeric values for the types
       are chosen to keep the state and action tables compact.
 ------------------------------------------------------------------------*/
 enum directions
@@ -1083,7 +1083,7 @@ search:
 }
 
 /*************************************************************
- *    BIDI_DeterminLevels
+ *    BIDI_DetermineLevels
  */
 BOOL BIDI_DetermineLevels(
                 const WCHAR *lpString,  /* [in] The string for which information is to be returned */
diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index 86e80aacd5..8d5d1265fa 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -998,7 +998,7 @@ static inline BOOL left_join_causing(CHAR joining_type)
 
 static inline BOOL word_break_causing(WCHAR chr)
 {
-    /* we are working within a string of characters already guareented to
+    /* we are working within a string of characters already guaranteed to
        be within one script, Syriac, so we do not worry about any character
        other than the space character outside of that range */
     return (chr == 0 || chr == 0x20 );
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index f66e85cc48..dd6a854356 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -3009,7 +3009,7 @@ HRESULT WINAPI ScriptXtoCP(int iX,
         else /* (glyph_index >= cGlyphs) */
             i = cChars;
 
-        /* If not snaping in the reverse direction (such as Hebrew) Then 0
+        /* If not snapping in the reverse direction (such as Hebrew) Then 0
            point flow to the next character */
         if (direction < 0)
         {




More information about the wine-cvs mailing list