Module: wine
Branch: master
Commit: 8ecd037962701f62c7a5b33d230d5b92484a0e53
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8ecd037962701f62c7a5b33d…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Dec 12 11:24:05 2019 +0100
oleaut32: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/oleaut32/dispatch.c | 2 +-
dlls/oleaut32/tests/vartype.c | 2 +-
dlls/oleaut32/typelib.c | 2 +-
dlls/oleaut32/typelib.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/oleaut32/dispatch.c b/dlls/oleaut32/dispatch.c
index 7e6398a162..39d6fddee5 100644
--- a/dlls/oleaut32/dispatch.c
+++ b/dlls/oleaut32/dispatch.c
@@ -176,7 +176,7 @@ done:
* (linked at run-time), as opposed to early-bound (linked at compile time).
*
* The interface is used by objects that wish to called by scripting
- * languages such as VBA, in order to minimise the amount of COM and C/C++
+ * languages such as VBA, in order to minimize the amount of COM and C/C++
* knowledge required, or by objects that wish to live out of process from code
* that will call their methods.
*
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 7daf2f032c..8a498defbc 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5934,7 +5934,7 @@ static void test_bstr_cache(void)
str = SysAllocStringLen(NULL, 24);
ok(str == strs[0], "str != strs[0]\n");
- /* Smaller buffers may also use larget cached buffers */
+ /* Smaller buffers may also use larger cached buffers */
str2 = SysAllocStringLen(NULL, 16);
ok(str2 == strs[1], "str2 != strs[1]\n");
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 528fe6372c..451753e23b 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -4202,7 +4202,7 @@ static void SLTG_DoFuncs(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI,
letter of the name, else the next WORD is an offset to
the arg type and paramName points to the first letter.
So let's take one char off paramName and see if we're
- pointing at an alpha-numeric char. However if *pArg is
+ pointing at an alphanumeric char. However if *pArg is
0xffff or 0xfffe then the param has no name, the former
meaning that the next WORD is the type, the latter
meaning that the next WORD is an offset to the type. */
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index 71e8d080c4..9c700b11a7 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -325,7 +325,7 @@ typedef struct {
} SLTG_BlkEntry;
/* The order of the blocks in the file is given by starting at Block
- entry firt_blk and stepping through using the next pointer */
+ entry first_blk and stepping through using the next pointer */
/* These then get followed by this magic */
typedef struct {
Module: wine
Branch: master
Commit: bd2cc27d55727fecadcc677ccb099d544d2de7ea
URL: https://source.winehq.org/git/wine.git/?a=commit;h=bd2cc27d55727fecadcc677c…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Dec 12 11:22:14 2019 +0100
usp10: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)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)
{
Module: wine
Branch: master
Commit: 70442de5332de98af9871baa93a23ef1ed6aec22
URL: https://source.winehq.org/git/wine.git/?a=commit;h=70442de5332de98af9871baa…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Dec 12 11:21:36 2019 +0100
include: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
include/objbase.h | 2 +-
include/winbase.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/objbase.h b/include/objbase.h
index 78ec6d366d..75280d6de7 100644
--- a/include/objbase.h
+++ b/include/objbase.h
@@ -146,7 +146,7 @@
* - Each method is declared as a pointer to function field in the jump table. The implementation
* will fill this jump table with appropriate values, probably using a static variable, and
* initialize the lpVtbl field to point to this variable.
- * - The IDirect3D_Xxx macros then just derefence the lpVtbl pointer and use the function pointer
+ * - The IDirect3D_Xxx macros then just dereference the lpVtbl pointer and use the function pointer
* corresponding to the macro name. This emulates the behavior of a virtual table and should be
* just as fast.
* - This C code should be quite compatible with the Windows headers both for code that uses COM
diff --git a/include/winbase.h b/include/winbase.h
index c550ed816d..655eb48f0f 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1262,7 +1262,7 @@ typedef struct COPYFILE2_EXTENDED_PARAMETERS
#define ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF (0x00000040)
#define ACTCTX_FLAG_HMODULE_VALID (0x00000080)
-/* flags to DeactiveActCtx */
+/* flags to DeactivateActCtx */
#define DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION (0x00000001)
/* flags to FindActCtxSection{Guid,String[AW]} */