mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:07:20 +00:00
Assorted spelling and case fixes.
This commit is contained in:
parent
1d834f4717
commit
497709b9bb
|
@ -308,7 +308,7 @@ HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIRECTMUSI
|
||||||
|
|
||||||
result = IDirectMusicObject_QueryInterface (pObject, riid, ppv);
|
result = IDirectMusicObject_QueryInterface (pObject, riid, ppv);
|
||||||
if (!bCache) IDirectMusicObject_Release (pObject); /* since loader's reference is not needed */
|
if (!bCache) IDirectMusicObject_Release (pObject); /* since loader's reference is not needed */
|
||||||
/* if there was trouble with loading, and if no other error occured,
|
/* if there was trouble with loading, and if no other error occurred,
|
||||||
we should return DMUS_S_PARTIALLOAD; else, error is returned */
|
we should return DMUS_S_PARTIALLOAD; else, error is returned */
|
||||||
if (result == S_OK)
|
if (result == S_OK)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
@ -1468,7 +1468,7 @@ static void test_FoldStringA(void)
|
||||||
/* MAP_EXPAND_LIGATURES */
|
/* MAP_EXPAND_LIGATURES */
|
||||||
SetLastError(0);
|
SetLastError(0);
|
||||||
ret = pFoldStringA(MAP_EXPAND_LIGATURES, ligatures_src, -1, dst, 256);
|
ret = pFoldStringA(MAP_EXPAND_LIGATURES, ligatures_src, -1, dst, 256);
|
||||||
/* NT 4.0 doesnt support MAP_EXPAND_LIGATURES */
|
/* NT 4.0 doesn't support MAP_EXPAND_LIGATURES */
|
||||||
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
||||||
EXPECT_LEN(sizeof(ligatures_dst)); EXPECT_VALID;
|
EXPECT_LEN(sizeof(ligatures_dst)); EXPECT_VALID;
|
||||||
ok(strcmp(dst, ligatures_dst) == 0,
|
ok(strcmp(dst, ligatures_dst) == 0,
|
||||||
|
@ -1855,7 +1855,7 @@ static void test_FoldStringW(void)
|
||||||
/* MAP_EXPAND_LIGATURES */
|
/* MAP_EXPAND_LIGATURES */
|
||||||
SetLastError(0);
|
SetLastError(0);
|
||||||
ret = pFoldStringW(MAP_EXPAND_LIGATURES, ligatures_src, -1, dst, 256);
|
ret = pFoldStringW(MAP_EXPAND_LIGATURES, ligatures_src, -1, dst, 256);
|
||||||
/* NT 4.0 doesnt support MAP_EXPAND_LIGATURES */
|
/* NT 4.0 doesn't support MAP_EXPAND_LIGATURES */
|
||||||
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
if (!(ret == 0 && GetLastError() == ERROR_INVALID_FLAGS)) {
|
||||||
EXPECT_LEN(sizeof(ligatures_dst)/sizeof(ligatures_dst[0])); EXPECT_VALID;
|
EXPECT_LEN(sizeof(ligatures_dst)/sizeof(ligatures_dst[0])); EXPECT_VALID;
|
||||||
ok(!memcmp(dst, ligatures_dst, sizeof(ligatures_dst)),
|
ok(!memcmp(dst, ligatures_dst, sizeof(ligatures_dst)),
|
||||||
|
|
|
@ -226,7 +226,7 @@ static const char *string_lookup_id( string_table *st, UINT id )
|
||||||
* msi_id2stringW
|
* msi_id2stringW
|
||||||
*
|
*
|
||||||
* [in] st - pointer to the string table
|
* [in] st - pointer to the string table
|
||||||
* [in] id - id of the string to retreive
|
* [in] id - id of the string to retrieve
|
||||||
* [out] buffer - destination of the string
|
* [out] buffer - destination of the string
|
||||||
* [in/out] sz - number of bytes available in the buffer on input
|
* [in/out] sz - number of bytes available in the buffer on input
|
||||||
* number of bytes used on output
|
* number of bytes used on output
|
||||||
|
@ -262,7 +262,7 @@ UINT msi_id2stringW( string_table *st, UINT id, LPWSTR buffer, UINT *sz )
|
||||||
* msi_id2stringA
|
* msi_id2stringA
|
||||||
*
|
*
|
||||||
* [in] st - pointer to the string table
|
* [in] st - pointer to the string table
|
||||||
* [in] id - id of the string to retreive
|
* [in] id - id of the string to retrieve
|
||||||
* [out] buffer - destination of the UTF8 string
|
* [out] buffer - destination of the UTF8 string
|
||||||
* [in/out] sz - number of bytes available in the buffer on input
|
* [in/out] sz - number of bytes available in the buffer on input
|
||||||
* number of bytes used on output
|
* number of bytes used on output
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Definitions for Wine main program
|
* Definitions for Wine main program
|
||||||
*
|
*
|
||||||
* Copyright 2004 Mike McCormack for Codeweavers
|
* Copyright 2004 Mike McCormack for CodeWeavers
|
||||||
* Copyright 2004 Alexandre Julliard
|
* Copyright 2004 Alexandre Julliard
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
|
|
Loading…
Reference in a new issue