=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: jscript: Assorted spelling fixes.

Alexandre Julliard julliard at winehq.org
Wed Apr 18 13:04:13 CDT 2012


Module: wine
Branch: master
Commit: 69f3d23045eeafa63065bd8cbb394534c1559d1e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69f3d23045eeafa63065bd8cbb394534c1559d1e

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Apr 17 22:09:00 2012 +0200

jscript: Assorted spelling fixes.

---

 dlls/jscript/dispex.c  |    2 +-
 dlls/jscript/engine.c  |    2 +-
 dlls/jscript/global.c  |    2 +-
 dlls/jscript/jsutils.c |    2 +-
 dlls/jscript/lex.c     |    2 +-
 dlls/jscript/regexp.c  |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/jscript/dispex.c b/dlls/jscript/dispex.c
index 8518768..f214ea0 100644
--- a/dlls/jscript/dispex.c
+++ b/dlls/jscript/dispex.c
@@ -27,7 +27,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(jscript);
 
 /*
  * This IID is used to get jsdisp_t objecto from interface.
- * We might consider using private insteface instead.
+ * We might consider using private interface instead.
  */
 static const IID IID_IDispatchJS =
         {0x719c3050,0xf9d3,0x11cf,{0xa4,0x93,0x00,0x40,0x05,0x23,0xa8,0xa6}};
diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c
index d1854f8..29425e5 100644
--- a/dlls/jscript/engine.c
+++ b/dlls/jscript/engine.c
@@ -364,7 +364,7 @@ static HRESULT disp_get_id(script_ctx_t *ctx, IDispatch *disp, BSTR name, DWORD
 
     hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
     if(FAILED(hres)) {
-        TRACE("unsing IDispatch\n");
+        TRACE("using IDispatch\n");
 
         *id = 0;
         return IDispatch_GetIDsOfNames(disp, &IID_NULL, &name, 1, 0, id);
diff --git a/dlls/jscript/global.c b/dlls/jscript/global.c
index d0b7a9b..13b2cc9 100644
--- a/dlls/jscript/global.c
+++ b/dlls/jscript/global.c
@@ -99,7 +99,7 @@ static inline BOOL is_uri_unescaped(WCHAR c)
     return c < 128 && uri_char_table[c] == 2;
 }
 
-/* Check that the character is one of the 69 nonblank characters as defined by ECMA-262 B.2.1 */
+/* Check that the character is one of the 69 non-blank characters as defined by ECMA-262 B.2.1 */
 static inline BOOL is_ecma_nonblank(const WCHAR c)
 {
     return ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') ||
diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c
index 5e5121a..4773fc9 100644
--- a/dlls/jscript/jsutils.c
+++ b/dlls/jscript/jsutils.c
@@ -135,7 +135,7 @@ void *jsheap_grow(jsheap_t *heap, void *mem, DWORD size, DWORD inc)
     }
 
     ret = jsheap_alloc(heap, size+inc);
-    if(ret) /* FIXME: avoid coppying for custom blocks */
+    if(ret) /* FIXME: avoid copying for custom blocks */
         memcpy(ret, mem, size);
     return ret;
 }
diff --git a/dlls/jscript/lex.c b/dlls/jscript/lex.c
index 4cf4d41..3bb2814 100644
--- a/dlls/jscript/lex.c
+++ b/dlls/jscript/lex.c
@@ -491,7 +491,7 @@ static int parse_numeric_literal(parser_ctx_t *ctx, literal_t **literal)
     if(!l) {
         if(*ctx->ptr == 'x' || *ctx->ptr == 'X') {
             if(++ctx->ptr == ctx->end) {
-                ERR("unexpexted end of file\n");
+                ERR("unexpected end of file\n");
                 return 0;
             }
 
diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c
index 8e80f9b..94f3f6b 100644
--- a/dlls/jscript/regexp.c
+++ b/dlls/jscript/regexp.c
@@ -3491,7 +3491,7 @@ static HRESULT RegExp_source(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DIS
         break;
     }
     default:
-        FIXME("Unimplemnted flags %x\n", flags);
+        FIXME("Unimplemented flags %x\n", flags);
         return E_NOTIMPL;
     }
 




More information about the wine-cvs mailing list