Skip to content

Commit 0f2bed5

Browse files
fdelajulliard
authored andcommitted
Assorted spelling fixes.
1 parent ee49a5a commit 0f2bed5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+117
-117
lines changed

dlls/advapi32/registry.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2716,7 +2716,7 @@ LSTATUS WINAPI RegLoadMUIStringW(HKEY hKey, LPCWSTR pwszValue, LPWSTR pwszBuffer
27162716
return ERROR_INVALID_PARAMETER;
27172717
}
27182718

2719-
/* Check for value existence and correctness of it's type, allocate a buffer and load it. */
2719+
/* Check for value existence and correctness of its type, allocate a buffer and load it. */
27202720
result = RegQueryValueExW(hKey, pwszValue, NULL, &dwValueType, NULL, &cbData);
27212721
if (result != ERROR_SUCCESS) goto cleanup;
27222722
if (!(dwValueType == REG_SZ || dwValueType == REG_EXPAND_SZ) || !cbData) {

dlls/advapi32/tests/crypt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ static void test_set_provider_ex(void)
931931
LocalFree(pszProvName);
932932

933933
reset:
934-
/* Set the provider back to it's original */
934+
/* Set the provider back to its original */
935935
result = pCryptSetProviderExA(curProvName, PROV_RSA_FULL, NULL, CRYPT_MACHINE_DEFAULT);
936936
ok(result, "%d\n", GetLastError());
937937
LocalFree(curProvName);

dlls/comctl32/comboex.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ static LRESULT COMBOEX_Create (HWND hwnd, CREATESTRUCTA const *cs)
996996
}
997997

998998
/* Native version of ComboEx creates the ComboBox with DROPDOWNLIST */
999-
/* specified. It then creates it's own version of the EDIT control */
999+
/* specified. It then creates its own version of the EDIT control */
10001000
/* and makes the ComboBox the parent. This is because a normal */
10011001
/* DROPDOWNLIST does not have an EDIT control, but we need one. */
10021002
/* We also need to place the edit control at the proper location */

dlls/comctl32/dpa.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ BOOL WINAPI DPA_Grow (HDPA hdpa, INT nGrow)
467467
*
468468
* NOTES
469469
* - If the 'hdpaNew' is a NULL-Pointer, a copy of the source pointer
470-
* array will be created and it's handle (pointer) is returned.
470+
* array will be created and its handle (pointer) is returned.
471471
* - If 'hdpa' is a NULL-Pointer, the original implementation crashes,
472472
* this implementation just returns NULL.
473473
*/

dlls/comctl32/toolbar.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4146,7 +4146,7 @@ TOOLBAR_Restore(TOOLBAR_INFO *infoPtr, const TBSAVEPARAMSW *lpSave)
41464146
{
41474147
/* separator */
41484148
nmtbr.tbButton.fsStyle = TBSTYLE_SEP;
4149-
/* when inserting separators, iBitmap controls it's size.
4149+
/* when inserting separators, iBitmap controls its size.
41504150
0 sets default size (width) */
41514151
nmtbr.tbButton.iBitmap = 0;
41524152
}

dlls/dmime/performance.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init(IDirectMusicPerformance8
277277
}
278278

279279
if (NULL != ppDirectMusic && NULL != *ppDirectMusic) {
280-
/* app creates it's own dmusic object and gives it to performance */
280+
/* app creates its own dmusic object and gives it to performance */
281281
This->pDirectMusic = (IDirectMusic8*) *ppDirectMusic;
282282
IDirectMusic8_AddRef(This->pDirectMusic);
283283
} else {
@@ -1228,9 +1228,9 @@ HRESULT WINAPI create_dmperformance(REFIID lpcGUID, void **ppobj)
12281228
InitializeCriticalSection(&obj->safe);
12291229
obj->safe.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectMusicPerformance8Impl*->safe");
12301230

1231-
obj->rtLatencyTime = 100; /* 100ms TO FIX */
1232-
obj->dwBumperLength = 50; /* 50ms default */
1233-
obj->dwPrepareTime = 1000; /* 1000ms default */
1231+
obj->rtLatencyTime = 100; /* 100 ms TO FIX */
1232+
obj->dwBumperLength = 50; /* 50 ms default */
1233+
obj->dwPrepareTime = 1000; /* 1000 ms default */
12341234
return IDirectMusicPerformance8Impl_QueryInterface(&obj->IDirectMusicPerformance8_iface,
12351235
lpcGUID, ppobj);
12361236
}

dlls/gameux/gameexplorer.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ static HRESULT GAMEUX_RemoveRegistryRecord(GUID* pInstanceID)
530530
* sGDFBinaryPath [I] path to binary containing GDF file in
531531
* resources
532532
* sGameInstallDirectory [I] path to directory, where game installed
533-
* it's files.
533+
* its files.
534534
* installScope [I] scope of game installation
535535
* pInstanceID [I/O] pointer to game instance identifier.
536536
* If pointing to GUID_NULL, then new
@@ -704,7 +704,7 @@ static HRESULT GAMEUX_UpdateGame(LPGUID InstanceID) {
704704
{
705705
WCHAR *lpGameInstallDirectory = NULL;
706706

707-
/* game found, it's registry path is in lpRegistryPath and install
707+
/* game found, its registry path is in lpRegistryPath and install
708708
* scope in installScope */
709709
TRACE("game found in registry (path %s), updating\n", debugstr_w(lpRegistryPath));
710710

dlls/gameux/gamestatistics.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
387387
hr = E_FAIL;
388388

389389
if(SUCCEEDED(hr))
390-
/* game is registered, let's read it's application id from registry */
390+
/* game is registered, let's read its application id from registry */
391391
hr = GAMEUX_buildGameRegistryPath(installScope, &instanceId, &lpRegistryPath);
392392

393393
if(SUCCEEDED(hr)) {

dlls/gameux/tests/gameexplorer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ static void _validateGameRegistryKey(int line,
363363
if(SUCCEEDED(hr))
364364
{
365365
if(presenceExpected)
366-
/* if the key exists and we expected it, let's verify it's content */
366+
/* if the key exists and we expected it, let's verify its content */
367367
_validateGameRegistryValues(line, hKey, lpRegistryPath, gameApplicationId, gameExePath, gameExeName);
368368

369369
RegCloseKey(hKey);

dlls/gdi32/enhmetafile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2230,7 +2230,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
22302230
* This function behaves differently in Win9x and WinNT.
22312231
*
22322232
* In WinNT, the DC's world transform is updated as the EMF changes
2233-
* the Window/Viewport Extent and Origin or it's world transform.
2233+
* the Window/Viewport Extent and Origin or its world transform.
22342234
* The actual Window/Viewport Extent and Origin are left untouched.
22352235
*
22362236
* In Win9x, the DC is left untouched, and PlayEnhMetaFileRecord

dlls/jscript/regexp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ ProcessOp(CompilerState *state, REOpData *opData, RENode **operandStack,
890890

891891
/*
892892
* Hack two bits in CompilerState.flags, for use within FindParenCount to flag
893-
* its being on the stack, and to propagate errors to its callers.
893+
* it being on the stack, and to propagate errors to its callers.
894894
*/
895895
#define JSREG_FIND_PAREN_COUNT 0x8000
896896
#define JSREG_FIND_PAREN_ERROR 0x4000

dlls/kernel32/tests/alloc.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static void test_Heap(void)
9393
error=TRUE;
9494
}
9595
}
96-
ok(!error,"HeapAlloc should have zeroed out it's allocated memory\n");
96+
ok(!error,"HeapAlloc should have zeroed out its allocated memory\n");
9797
}
9898

9999
/* Check that HeapAlloc returns NULL when requested way too much memory */
@@ -114,7 +114,7 @@ static void test_Heap(void)
114114
error=TRUE;
115115
}
116116
}
117-
ok(!error,"HeapReAlloc should have zeroed out it's allocated memory\n");
117+
ok(!error,"HeapReAlloc should have zeroed out its allocated memory\n");
118118
}
119119

120120
/* Check that HeapRealloc honours HEAP_REALLOC_IN_PLACE_ONLY */
@@ -195,7 +195,7 @@ static void test_Global(void)
195195
error=TRUE;
196196
}
197197
}
198-
ok(!error,"GlobalAlloc should have zeroed out it's allocated memory\n");
198+
ok(!error,"GlobalAlloc should have zeroed out its allocated memory\n");
199199
}
200200
}
201201
/* Check that GlobalReAlloc works */
@@ -222,7 +222,7 @@ static void test_Global(void)
222222
error=TRUE;
223223
}
224224
}
225-
ok(!error,"GlobalReAlloc should have zeroed out it's allocated memory\n");
225+
ok(!error,"GlobalReAlloc should have zeroed out its allocated memory\n");
226226

227227
/* Check that GlobalHandle works */
228228
mem2b=GlobalHandle(mem2ptr);
@@ -287,7 +287,7 @@ static void test_Local(void)
287287
error=TRUE;
288288
}
289289
}
290-
ok(!error,"LocalAlloc should have zeroed out it's allocated memory\n");
290+
ok(!error,"LocalAlloc should have zeroed out its allocated memory\n");
291291
SetLastError(0);
292292
error=LocalUnlock(mem2);
293293
ok(!error && GetLastError()==NO_ERROR,
@@ -315,7 +315,7 @@ static void test_Local(void)
315315
error=TRUE;
316316
}
317317
}
318-
ok(!error,"LocalReAlloc should have zeroed out it's allocated memory\n");
318+
ok(!error,"LocalReAlloc should have zeroed out its allocated memory\n");
319319
/* Check that LocalHandle works */
320320
mem2b=LocalHandle(mem2ptr);
321321
ok(mem2b==mem2a,"LocalHandle didn't return the correct memory handle\n");

dlls/kernel32/tests/path.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ static void test_setdir(CHAR *olddir,CHAR *newdir,
308308
"%s: SetCurrentDirectory did not change the directory, though it passed\n",
309309
errstr);
310310
ok(SetCurrentDirectoryA(olddir),
311-
"%s: Couldn't set directory to it's original value\n",errstr);
311+
"%s: Couldn't set directory to its original value\n",errstr);
312312
} else {
313313
/* else thest that it fails correctly */
314314
chklen=lstrlenA(olddir);

dlls/ntdll/sync.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1412,11 +1412,11 @@ DWORD WINAPI RtlRunOnceExecuteOnce( RTL_RUN_ONCE *once, PRTL_RUN_ONCE_INIT_FN fu
14121412
* [0, >=1, >=1] above we cannot add additional waiting threads to the
14131413
* shared access queue - it wouldn't be possible to distinguish waiting
14141414
* threads and those that are still inside. To solve this problem the lock
1415-
* uses the following approach: A thread that isn't able to allocate a
1415+
* uses the following approach: a thread that isn't able to allocate a
14161416
* shared lock just uses the exclusive queue instead. As soon as the thread
1417-
* is woken up it is in the state [1, >=1, >=0]. In this state its again
1417+
* is woken up it is in the state [1, >=1, >=0]. In this state it's again
14181418
* possible to use the shared access queue. The thread atomically moves
1419-
* itself to the shared access queue and releases the exclusive lock, such
1419+
* itself to the shared access queue and releases the exclusive lock, so
14201420
* that the "real" exclusive access threads have a chance. As soon as they
14211421
* are all ready the shared access threads are processed.
14221422
*/
@@ -1449,7 +1449,7 @@ static inline unsigned int srwlock_lock_exclusive( unsigned int *dest, int incr
14491449
/* Atomically modifies the value of *dest by adding incr. If the shared
14501450
* queue is empty and there are threads waiting for exclusive access, then
14511451
* sets the mark SRWLOCK_MASK_IN_EXCLUSIVE to signal other threads that
1452-
* they are allowed to use again the shared queue counter. */
1452+
* they are allowed again to use the shared queue counter. */
14531453
for (val = *dest;; val = tmp)
14541454
{
14551455
tmp = val + incr;
@@ -1484,7 +1484,7 @@ static inline unsigned int srwlock_unlock_exclusive( unsigned int *dest, int inc
14841484
static inline void srwlock_leave_exclusive( RTL_SRWLOCK *lock, unsigned int val )
14851485
{
14861486
/* Used when a thread leaves an exclusive section. If there are other
1487-
* exclusive access threads they are processed first, afterwards process
1487+
* exclusive access threads they are processed first, followed by
14881488
* the shared waiters. */
14891489
if (val & SRWLOCK_MASK_EXCLUSIVE_QUEUE)
14901490
NtReleaseKeyedEvent( keyed_event, srwlock_key_exclusive(lock), FALSE, NULL );

dlls/ntdll/tests/info.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1726,7 +1726,7 @@ START_TEST(info)
17261726
trace("Starting test_process_debug_flags()\n");
17271727
test_query_process_debug_flags(argc, argv);
17281728

1729-
/* belongs into it's own file */
1729+
/* belongs to its own file */
17301730
trace("Starting test_readvirtualmemory()\n");
17311731
test_readvirtualmemory();
17321732

dlls/ole32/compositemoniker.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
WINE_DEFAULT_DEBUG_CHANNEL(ole);
3939

40-
#define BLOCK_TAB_SIZE 5 /* represent the first size table and it's increment block size */
40+
#define BLOCK_TAB_SIZE 5 /* represent the first size table and its increment block size */
4141

4242
/* CompositeMoniker data structure */
4343
typedef struct CompositeMonikerImpl{

dlls/ole32/ole2.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ WINE_DECLARE_DEBUG_CHANNEL(accel);
5656

5757
/******************************************************************************
5858
* These are static/global variables and internal data structures that the
59-
* OLE module uses to maintain it's state.
59+
* OLE module uses to maintain its state.
6060
*/
6161
typedef struct tagTrackerWindowInfo
6262
{
@@ -1332,7 +1332,7 @@ HRESULT WINAPI OleLoad(
13321332

13331333
if (SUCCEEDED(hres) && pClientSite)
13341334
/*
1335-
* Inform the new object of it's client site.
1335+
* Inform the new object of its client site.
13361336
*/
13371337
hres = IOleObject_SetClientSite(pOleObject, pClientSite);
13381338

@@ -2441,7 +2441,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
24412441

24422442
/*
24432443
* If the source told us that we should cancel, fool the drop
2444-
* target by telling it that the mouse left it's window.
2444+
* target by telling it that the mouse left its window.
24452445
* Also set the drop effect to "NONE" in case the application
24462446
* ignores the result of DoDragDrop.
24472447
*/

dlls/opencl/opencl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ cl_context WINAPI wine_clCreateContext(const cl_context_properties * properties,
173173
/* FIXME: The CONTEXT_CALLBACK structure is currently leaked.
174174
* Pointers to callback redirectors should be remembered and free()d when the context is destroyed.
175175
* The problem is determining when a context is being destroyed. clReleaseContext only decrements
176-
* the use count for a context, it's destruction can come much later and therefore there is a risk
176+
* the use count for a context, its destruction can come much later and therefore there is a risk
177177
* that the callback could be invoked after the user_data memory has been free()d.
178178
*/
179179
ccb = HeapAlloc(GetProcessHeap(), 0, sizeof(CONTEXT_CALLBACK));
@@ -194,7 +194,7 @@ cl_context WINAPI wine_clCreateContextFromType(const cl_context_properties * pro
194194
/* FIXME: The CONTEXT_CALLBACK structure is currently leaked.
195195
* Pointers to callback redirectors should be remembered and free()d when the context is destroyed.
196196
* The problem is determining when a context is being destroyed. clReleaseContext only decrements
197-
* the use count for a context, it's destruction can come much later and therefore there is a risk
197+
* the use count for a context, its destruction can come much later and therefore there is a risk
198198
* that the callback could be invoked after the user_data memory has been free()d.
199199
*/
200200
ccb = HeapAlloc(GetProcessHeap(), 0, sizeof(CONTEXT_CALLBACK));

dlls/quartz/pin.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ HRESULT WINAPI PullPin_ReceiveConnection(IPin * iface, IPin * pReceivePin, const
265265
ALLOCATOR_PROPERTIES props;
266266

267267
props.cBuffers = 3;
268-
props.cbBuffer = 64 * 1024; /* 64k bytes */
268+
props.cbBuffer = 64 * 1024; /* 64 KB */
269269
props.cbAlign = 1;
270270
props.cbPrefix = 0;
271271

@@ -598,7 +598,7 @@ static HRESULT PullPin_InitProcessing(PullPin * This)
598598
assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT);
599599
This->state = Req_Sleepy;
600600

601-
/* AddRef the filter to make sure it and it's pins will be around
601+
/* AddRef the filter to make sure it and its pins will be around
602602
* as long as the thread */
603603
IBaseFilter_AddRef(This->pin.pinInfo.pFilter);
604604

dlls/riched20/table.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* Richedit version 4.1:
3636
* Tables are implemented such that cells can contain multiple paragraphs,
37-
* each with it's own paragraph format, and cells may even contain tables
37+
* each with its own paragraph format, and cells may even contain tables
3838
* nested within the cell.
3939
*
4040
* There is also a paragraph at the start of each table row that contains

dlls/rsaenh/mpi.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ static int mp_lshd (mp_int * a, int b)
13871387
{
13881388
int x, res;
13891389

1390-
/* if its less than zero return */
1390+
/* if it's less than zero return */
13911391
if (b <= 0) {
13921392
return MP_OKAY;
13931393
}
@@ -1624,7 +1624,7 @@ static int mp_div (const mp_int * a, const mp_int * b, mp_int * c, mp_int * d)
16241624
norm = 0;
16251625
}
16261626

1627-
/* note hac does 0 based, so if used==5 then its 0,1,2,3,4, e.g. use 4 */
1627+
/* note hac does 0 based, so if used==5 then it's 0,1,2,3,4, e.g. use 4 */
16281628
n = x.used - 1;
16291629
t = y.used - 1;
16301630

@@ -2536,7 +2536,7 @@ int mp_invmod_slow (const mp_int * a, mp_int * b, mp_int * c)
25362536
goto __ERR;
25372537
}
25382538

2539-
/* if its too low */
2539+
/* if it's too low */
25402540
while (mp_cmp_d(&C, 0) == MP_LT) {
25412541
if ((res = mp_add(&C, b, &C)) != MP_OKAY) {
25422542
goto __ERR;
@@ -2821,13 +2821,13 @@ int mp_lcm (const mp_int * a, const mp_int * b, mp_int * c)
28212821

28222822
/* divide the smallest by the GCD */
28232823
if (mp_cmp_mag(a, b) == MP_LT) {
2824-
/* store quotient in t2 such that t2 * b is the LCM */
2824+
/* store quotient in t2 so that t2 * b is the LCM */
28252825
if ((res = mp_div(a, &t1, &t2, NULL)) != MP_OKAY) {
28262826
goto __T;
28272827
}
28282828
res = mp_mul(b, &t2, c);
28292829
} else {
2830-
/* store quotient in t2 such that t2 * a is the LCM */
2830+
/* store quotient in t2 so that t2 * a is the LCM */
28312831
if ((res = mp_div(b, &t1, &t2, NULL)) != MP_OKAY) {
28322832
goto __T;
28332833
}

dlls/rsaenh/tests/rsaenh.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ static BOOL init_aes_environment(void)
188188
hProv = (HCRYPTPROV)INVALID_HANDLE_VALUE;
189189

190190
/* we are using NULL as provider name for RSA_AES provider as the provider
191-
* names are different in Windows XP and Vista. Its different as to what
192-
* its defined in the SDK on Windows XP.
191+
* names are different in Windows XP and Vista. It's different to what
192+
* is defined in the SDK on Windows XP.
193193
* This provider is available on Windows XP, Windows 2003 and Vista. */
194194

195195
result = CryptAcquireContextA(&hProv, szContainer, NULL, PROV_RSA_AES, CRYPT_VERIFYCONTEXT);

dlls/shdocvw/tests/shortcut.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static void test_ShortcutFolder(void) {
206206
IShellFolder_Release(pWineTestFolder);
207207
if (FAILED(hr)) goto cleanup;
208208

209-
/* The resulting folder object has the FolderShortcut CLSID, instead of it's own. */
209+
/* The resulting folder object has the FolderShortcut CLSID, instead of its own. */
210210
hr = IPersistFolder3_GetClassID(pWineTestPersistFolder, &clsid);
211211
ok (SUCCEEDED(hr), "IPersist::GetClassID failed! hr = %08x\n", hr);
212212
ok (IsEqualCLSID(&CLSID_FolderShortcut, &clsid), "GetClassId returned wrong CLSID!\n");

dlls/shell32/brsfolder.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static void GetNormalAndSelectedIcons(LPITEMIDLIST lpifq, LPTVITEMW lpTV_ITEM)
313313
/******************************************************************************
314314
* GetName [Internal]
315315
*
316-
* Query a shell folder for the display name of one of it's children
316+
* Query a shell folder for the display name of one of its children
317317
*
318318
* PARAMS
319319
* lpsf [I] IShellFolder interface of the folder to be queried.
@@ -901,7 +901,7 @@ static BOOL BrsFolder_OnSetExpanded(browse_info *info, LPVOID selection,
901901
if (_ILIsEqualSimple(pItemData->lpi, pidlCurrent)) {
902902
pidlCurrent = ILGetNext(pidlCurrent);
903903
if (!_ILIsEmpty(pidlCurrent)) {
904-
/* Only expand current node and move on to it's first child,
904+
/* Only expand current node and move on to its first child,
905905
* if we didn't already reach the last SHITEMID */
906906
SendMessageW(info->hwndTreeView, TVM_EXPAND, TVE_EXPAND, (LPARAM)item.hItem);
907907
item.hItem = (HTREEITEM)SendMessageW(info->hwndTreeView, TVM_GETNEXTITEM, TVGN_CHILD,

0 commit comments

Comments
 (0)