From f8e01efb3d4ecb918091b48842f50aef8070a16b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 23 Jul 2004 23:02:09 +0000 Subject: [PATCH] Assorted spelling fixes. --- dlls/msvcrt/mbcs.c | 2 +- dlls/ntdll/tests/rtl.c | 2 +- dlls/ole32/bindctx.c | 2 +- dlls/ole32/filemoniker.c | 2 +- dlls/shell32/classes.c | 2 +- dlls/shell32/shlfileop.c | 2 +- programs/wcmd/En.rc | 2 +- programs/wcmd/Ru.rc | 2 +- programs/wcmd/Si.rc | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c index a2bd7f44d2a..91a30884794 100644 --- a/dlls/msvcrt/mbcs.c +++ b/dlls/msvcrt/mbcs.c @@ -607,7 +607,7 @@ unsigned int _mbbtombc(unsigned int c) ((c >= 0x20 && c <=0x7e) ||(c >= 0xa1 && c <= 0xdf))) { /* FIXME: I can't get this function to return anything - * different to what I pass it... + * different from what I pass it... */ } return c; /* ASCII CP or no MB char */ diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index ccccba82ef1..c5a3dd885fb 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -495,7 +495,7 @@ static void test_RtlUniform(void) * MAXLONG (=0x7fffffff) is never returned, neither with the native function * nor with the simplified algorithm. In reality the native function and our * function return a random number distributed over [0..MAXLONG-1]. Note - * that this is different to what native documentation states [0..MAXLONG]. + * that this is different from what native documentation states [0..MAXLONG]. * Expressed with D.H. Lehmer's 1948 algorithm it looks like: * * seed = (seed * const_1 + const_2) % MAXLONG; diff --git a/dlls/ole32/bindctx.c b/dlls/ole32/bindctx.c index 73b8ffb4f97..91b3791d170 100644 --- a/dlls/ole32/bindctx.c +++ b/dlls/ole32/bindctx.c @@ -269,7 +269,7 @@ HRESULT WINAPI BindCtxImpl_RevokeObjectBound(IBindCtx* iface, IUnknown* punk) TRACE("(%p,%p)\n",This,punk); - /* check if the object was registred or not */ + /* check if the object was registered or not */ if (BindCtxImpl_GetObjectIndex(This,punk,NULL,&index)==S_FALSE) return MK_E_NOTBOUND; diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c index 0beaca26609..60747597632 100644 --- a/dlls/ole32/filemoniker.c +++ b/dlls/ole32/filemoniker.c @@ -983,7 +983,7 @@ HRESULT WINAPI FileMonikerImpl_GetTimeOfLastChange(IMoniker* iface, res= IRunningObjectTable_GetTimeOfLastChange(rot,iface,pFileTime); - if (FAILED(res)){ /* the moniker is not registred */ + if (FAILED(res)){ /* the moniker is not registered */ if (!GetFileAttributesExW(This->filePathName,GetFileExInfoStandard,&info)) return MK_E_NOOBJECT; diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c index 5c00c8b4399..0e47f6f9fb4 100644 --- a/dlls/shell32/classes.c +++ b/dlls/shell32/classes.c @@ -263,7 +263,7 @@ BOOL HCR_GetDefaultIconFromGUIDW(REFIID riid, LPWSTR szDest, DWORD len, LPDWORD /*************************************************************************************** * HCR_GetClassName [internal] * -* Gets the name of a registred class +* Gets the name of a registered class */ static const WCHAR swEmpty[] = {0}; diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 2acb2ed6004..d06e03cdce4 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -1077,7 +1077,7 @@ int WINAPI SHFileOperationW(LPSHFILEOPSTRUCTW lpFileOp) goto shfileop_normal; } - /* W98 Bug with FO_MOVE different to FO_COPY, better the same as FO_COPY */ + /* W98 Bug with FO_MOVE different from FO_COPY, better the same as FO_COPY */ b_ToValid = ((b_SameTailName && b_SameRoot && (FO_COPY == FuncSwitch)) || (b_SameTailName && !b_SameRoot) || (b_ToInvalidTail)); diff --git a/programs/wcmd/En.rc b/programs/wcmd/En.rc index 4acde077172..6a680ff5e57 100644 --- a/programs/wcmd/En.rc +++ b/programs/wcmd/En.rc @@ -69,7 +69,7 @@ not exist in wcmd.\n" batch file.\n\ \n\ The label which is the target of a GOTO may be up to 255 characters\n\ -long but may not include spaces (this is different to other operating\n\ +long but may not include spaces (this is different from other operating\n\ systems). If two or more identical labels exist in a batch file the\n\ first one will always be executed. Attempting to GOTO a non-existent\n\ label terminates the batch file execution.\n\ diff --git a/programs/wcmd/Ru.rc b/programs/wcmd/Ru.rc index 85d26eef90b..2812fb18db6 100644 --- a/programs/wcmd/Ru.rc +++ b/programs/wcmd/Ru.rc @@ -68,7 +68,7 @@ not exist in wcmd.\n" batch file.\n\ \n\ The label which is the target of a GOTO may be up to 255 characters\n\ -long but may not include spaces (this is different to other operating\n\ +long but may not include spaces (this is different from other operating\n\ systems). If two or more identical labels exist in a batch file the\n\ first one will always be executed. Attempting to GOTO a non-existent\n\ label terminates the batch file execution.\n\ diff --git a/programs/wcmd/Si.rc b/programs/wcmd/Si.rc index 968dac56b6f..8f596012030 100644 --- a/programs/wcmd/Si.rc +++ b/programs/wcmd/Si.rc @@ -69,7 +69,7 @@ not exist in wcmd.\n" batch file.\n\ \n\ The label which is the target of a GOTO may be up to 255 characters\n\ -long but may not include spaces (this is different to other operating\n\ +long but may not include spaces (this is different from other operating\n\ systems). If two or more identical labels exist in a batch file the\n\ first one will always be executed. Attempting to GOTO a non-existent\n\ label terminates the batch file execution.\n\