[PATCH] usp10: Fix the spelling of some comments.
Francois Gouget
fgouget at free.fr
Thu Dec 12 04:22:14 CST 2019
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
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 34ca955dcb1..e1d0a11697d 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 86e80aacd5f..8d5d1265fa5 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 f66e85cc485..dd6a8543566 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)
{
--
2.20.1
More information about the wine-devel
mailing list