Assorted spelling fixes.
This commit is contained in:
parent
ce9672367a
commit
ebadbd4bd5
|
@ -121,7 +121,7 @@ DWORD DSOUND_secpos_to_bufpos(const IDirectSoundBufferImpl *dsb, DWORD secpos, D
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Convert a resampled pointer that fits for primary to a 'native' sample pointer
|
/** Convert a resampled pointer that fits for primary to a 'native' sample pointer
|
||||||
* freqAccNext is used here rather then freqAcc: In case the app wants to fill up to
|
* freqAccNext is used here rather than freqAcc: In case the app wants to fill up to
|
||||||
* the play position it won't overwrite it
|
* the play position it won't overwrite it
|
||||||
*/
|
*/
|
||||||
static DWORD DSOUND_bufpos_to_secpos(const IDirectSoundBufferImpl *dsb, DWORD bufpos)
|
static DWORD DSOUND_bufpos_to_secpos(const IDirectSoundBufferImpl *dsb, DWORD bufpos)
|
||||||
|
|
|
@ -70,7 +70,7 @@ static void test_widenpath(void)
|
||||||
/* Test if WidenPath seems to have done his job */
|
/* Test if WidenPath seems to have done his job */
|
||||||
nSize = GetPath(hdc, NULL, NULL, 0);
|
nSize = GetPath(hdc, NULL, NULL, 0);
|
||||||
ok(nSize != -1, "GetPath fails after calling WidenPath.\n");
|
ok(nSize != -1, "GetPath fails after calling WidenPath.\n");
|
||||||
ok(nSize > 6, "Path number of points is to low. Should be more than 6 but is %d\n", nSize);
|
ok(nSize > 6, "Path number of points is too low. Should be more than 6 but is %d\n", nSize);
|
||||||
|
|
||||||
AbortPath(hdc);
|
AbortPath(hdc);
|
||||||
|
|
||||||
|
|
|
@ -826,7 +826,7 @@ NTSTATUS WINAPI NtQuerySystemTime( PLARGE_INTEGER Time )
|
||||||
*
|
*
|
||||||
* Note: Windows uses a timer clocked at a multiple of 1193182 Hz. There is a
|
* Note: Windows uses a timer clocked at a multiple of 1193182 Hz. There is a
|
||||||
* good number of applications that crash when the returned frequency is either
|
* good number of applications that crash when the returned frequency is either
|
||||||
* lower or higher then what Windows gives. Also too high counter values are
|
* lower or higher than what Windows gives. Also too high counter values are
|
||||||
* reported to give problems.
|
* reported to give problems.
|
||||||
*/
|
*/
|
||||||
NTSTATUS WINAPI NtQueryPerformanceCounter( PLARGE_INTEGER Counter, PLARGE_INTEGER Frequency )
|
NTSTATUS WINAPI NtQueryPerformanceCounter( PLARGE_INTEGER Counter, PLARGE_INTEGER Frequency )
|
||||||
|
|
|
@ -5057,7 +5057,7 @@ static void test_VarAdd(void)
|
||||||
VARADD(R8, R8_MAX, R8, R8_MIN, R8, R8_MAX + R8_MIN);
|
VARADD(R8, R8_MAX, R8, R8_MIN, R8, R8_MAX + R8_MIN);
|
||||||
VARADD(R8, R8_MIN, R8, R8_MIN, R8, R8_MIN + R8_MIN);
|
VARADD(R8, R8_MIN, R8, R8_MIN, R8, R8_MIN + R8_MIN);
|
||||||
|
|
||||||
/* Manualy test BSTR + BSTR */
|
/* Manually test BSTR + BSTR */
|
||||||
V_VT(&left) = VT_BSTR;
|
V_VT(&left) = VT_BSTR;
|
||||||
V_BSTR(&left) = lbstr;
|
V_BSTR(&left) = lbstr;
|
||||||
V_VT(&right) = VT_BSTR;
|
V_VT(&right) = VT_BSTR;
|
||||||
|
|
|
@ -737,7 +737,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
|
||||||
RegSetValueExA( hkCards, "NextID", 0, REG_DWORD, (LPBYTE)&dwval,
|
RegSetValueExA( hkCards, "NextID", 0, REG_DWORD, (LPBYTE)&dwval,
|
||||||
sizeof(DWORD));
|
sizeof(DWORD));
|
||||||
}
|
}
|
||||||
} else hkCards = 0; /* should realy fail */
|
} else hkCards = 0; /* should really fail */
|
||||||
/* check if sufficient room is available */
|
/* check if sufficient room is available */
|
||||||
lpTranslateCaps->dwNeededSize = sizeof(LINETRANSLATECAPS) + length;
|
lpTranslateCaps->dwNeededSize = sizeof(LINETRANSLATECAPS) + length;
|
||||||
if ( lpTranslateCaps->dwNeededSize > lpTranslateCaps->dwTotalSize ) {
|
if ( lpTranslateCaps->dwNeededSize > lpTranslateCaps->dwTotalSize ) {
|
||||||
|
|
|
@ -584,7 +584,7 @@ static UINT BUTTON_BStoDT(DWORD style)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* DrawText ignores vertical alignment for multiline text,
|
/* DrawText ignores vertical alignment for multiline text,
|
||||||
* but we use these flags to align label manualy.
|
* but we use these flags to align label manually.
|
||||||
*/
|
*/
|
||||||
if (get_button_type(style) != BS_GROUPBOX)
|
if (get_button_type(style) != BS_GROUPBOX)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1521,7 +1521,7 @@ static void test_SPI_SETMINIMIZEDMETRICS( void ) /* 44 */
|
||||||
lpMm_new.iVertGap, "iVertGap", "%d" );
|
lpMm_new.iVertGap, "iVertGap", "%d" );
|
||||||
eq( GetSystemMetrics( SM_ARRANGE ),
|
eq( GetSystemMetrics( SM_ARRANGE ),
|
||||||
lpMm_new.iArrange, "iArrange", "%d" );
|
lpMm_new.iArrange, "iArrange", "%d" );
|
||||||
/* now some realy invalid settings */
|
/* now some really invalid settings */
|
||||||
lpMm_cur.iWidth = -1;
|
lpMm_cur.iWidth = -1;
|
||||||
lpMm_cur.iHorzGap = -1;
|
lpMm_cur.iHorzGap = -1;
|
||||||
lpMm_cur.iVertGap = -1;
|
lpMm_cur.iVertGap = -1;
|
||||||
|
|
|
@ -302,7 +302,7 @@ static BOOL MZ_DoLoadImage( HANDLE hFile, LPCSTR filename, OverlayBlock *oblk, W
|
||||||
SetFilePointer(hFile,image_start,NULL,FILE_BEGIN);
|
SetFilePointer(hFile,image_start,NULL,FILE_BEGIN);
|
||||||
if (!ReadFile(hFile,load_start,image_size,&len,NULL) || len != image_size) {
|
if (!ReadFile(hFile,load_start,image_size,&len,NULL) || len != image_size) {
|
||||||
/* check if this is due to the workaround for the pre-1.10 MS linker and we
|
/* check if this is due to the workaround for the pre-1.10 MS linker and we
|
||||||
realy had only 4 bytes on the last page */
|
really had only 4 bytes on the last page */
|
||||||
if (mz_header.e_cblp != 4 || image_size - len != 512 - 4) {
|
if (mz_header.e_cblp != 4 || image_size - len != 512 - 4) {
|
||||||
SetLastError(ERROR_BAD_FORMAT);
|
SetLastError(ERROR_BAD_FORMAT);
|
||||||
goto load_error;
|
goto load_error;
|
||||||
|
|
Loading…
Reference in New Issue