Module: wine
Branch: master
Commit: 2fe8a41cb833157ac2a811567129cd329f9c4b7d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2fe8a41cb833157ac2a811567…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Thu Dec 14 20:49:26 2006 +0100
ddraw: Add a TRACE to GetPixelFormat.
---
dlls/ddraw/surface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index 03ea974..b005579 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -1291,8 +1291,8 @@ IDirectDrawSurfaceImpl_GetColorKey(IDire
/* There is a DDERR_NOCOLORKEY error, but how do we know if a color key
* isn't there? That's like saying that an int isn't there. (Which MS
* has done in other docs.) */
-
ICOM_THIS_FROM(IDirectDrawSurfaceImpl, IDirectDrawSurface7, iface);
+ TRACE("(%p)->(%08x,%p)\n", This, Flags, CKey);
if(!CKey)
return DDERR_INVALIDPARAMS;
Module: wine
Branch: master
Commit: 367f91fb5c36ebbbd66d01c26c55f0c360ac7186
URL: http://source.winehq.org/git/wine.git/?a=commit;h=367f91fb5c36ebbbd66d01c26…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Dec 14 17:59:46 2006 +0100
Assorted spelling fixes.
---
dlls/cabinet/fci.c | 8 ++++----
dlls/kernel32/tests/heap.c | 4 ++--
dlls/usp10/usp10.c | 2 +-
dlls/wined3d/directx.c | 11 +++++++----
dlls/winedos/int15.c | 2 +-
dlls/winspool.drv/tests/info.c | 10 +++++-----
programs/wineconsole/wineconsole.c | 2 +-
programs/winedbg/break.c | 2 +-
8 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/dlls/cabinet/fci.c b/dlls/cabinet/fci.c
index a43c681..76ead07 100644
--- a/dlls/cabinet/fci.c
+++ b/dlls/cabinet/fci.c
@@ -1343,7 +1343,7 @@ static BOOL fci_flush_folder(
return FALSE;
}
- /* Skip a few lines of code. This is catched by the next if. */
+ /* Skip a few lines of code. This is caught by the next if. */
p_fci_internal->fGetNextCabInVain=TRUE;
}
@@ -2251,7 +2251,7 @@ static BOOL fci_flush_cabinet(
fci_set_error( FCIERR_NONE, ERROR_FUNCTION_FAILED, TRUE );
return FALSE;
}
- /* Skip a few lines of code. This is catched by the next if. */
+ /* Skip a few lines of code. This is caught by the next if. */
p_fci_internal->fGetNextCabInVain=TRUE;
}
@@ -2480,7 +2480,7 @@ BOOL __cdecl FCIAddFile(
fci_set_error( FCIERR_NONE, ERROR_FUNCTION_FAILED, TRUE );
return FALSE;
}
- /* Skip a few lines of code. This is catched by the next if. */
+ /* Skip a few lines of code. This is caught by the next if. */
p_fci_internal->fGetNextCabInVain=TRUE;
}
@@ -2647,7 +2647,7 @@ BOOL __cdecl FCIAddFile(
fci_set_error( FCIERR_NONE, ERROR_FUNCTION_FAILED, TRUE );
return FALSE;
}
- /* Skip a few lines of code. This is catched by the next if. */
+ /* Skip a few lines of code. This is caught by the next if. */
p_fci_internal->fGetNextCabInVain=TRUE;
}
diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index 4a7326d..d2e8608 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -132,7 +132,7 @@ START_TEST(heap)
"MAGIC_DEAD)\n", res, GetLastError());
GlobalFree(gbl);
- /* invalid handles are catched in windows: */
+ /* invalid handles are caught in windows: */
SetLastError(MAGIC_DEAD);
hsecond = GlobalFree(gbl); /* invalid handle: free memory twice */
ok( (hsecond == gbl) && (GetLastError() == ERROR_INVALID_HANDLE),
@@ -237,7 +237,7 @@ START_TEST(heap)
"MAGIC_DEAD)\n", res, GetLastError());
LocalFree(gbl);
- /* invalid handles are catched in windows: */
+ /* invalid handles are caught in windows: */
SetLastError(MAGIC_DEAD);
hsecond = LocalFree(gbl); /* invalid handle: free memory twice */
ok( (hsecond == gbl) && (GetLastError() == ERROR_INVALID_HANDLE),
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 5f88138..7472218 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -591,7 +591,7 @@ HRESULT WINAPI ScriptXtoCP(int iX,
if (iPosX - iX > fAvePosX/2)
*piTrailing = 0;
else
- *piTrailing = 1; /* yep we are over half way */
+ *piTrailing = 1; /* yep we are over halfway */
*piCP = item -1; /* Return character position */
TRACE("*piCP=%d iPposX=%d\n", *piCP, iPosX);
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index b099c2d..6e97cc3 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2267,10 +2267,13 @@ static HRESULT WINAPI IWineD3DImpl_GetDe
*pCaps->NumberOfAdaptersInGroup = 1;
if(*pCaps->VertexShaderVersion >= WINED3DVS_VERSION(2,0)) {
- /* OpenGL supports all formats below, perhaps not always without conversion but it supports them.
- Further GLSL doesn't seem to have an official unsigned type as I'm not sure how we handle it
- don't advertise it yet. We might need to add some clamping in the shader engine to support it.
- TODO: D3DDTCAPS_USHORT2N, D3DDTCAPS_USHORT4N, D3DDTCAPS_UDEC3, D3DDTCAPS_DEC3N */
+ /* OpenGL supports all the formats below, perhaps not always
+ * without conversion, but it supports them.
+ * Further GLSL doesn't seem to have an official unsigned type so
+ * don't advertise it yet as I'm not sure how we handle it.
+ * We might need to add some clamping in the shader engine to
+ * support it.
+ * TODO: D3DDTCAPS_USHORT2N, D3DDTCAPS_USHORT4N, D3DDTCAPS_UDEC3, D3DDTCAPS_DEC3N */
*pCaps->DeclTypes = D3DDTCAPS_UBYTE4 |
D3DDTCAPS_UBYTE4N |
D3DDTCAPS_SHORT2N |
diff --git a/dlls/winedos/int15.c b/dlls/winedos/int15.c
index 1afbe68..24c9121 100644
--- a/dlls/winedos/int15.c
+++ b/dlls/winedos/int15.c
@@ -151,7 +151,7 @@ void WINAPI DOSVM_Int15Handler( CONTEXT8
FIXME("INT15: 0xc3\n");
SET_AH( context , 0x86 );
break;
- case 0xc4: /* BIOS POS Programm option select */
+ case 0xc4: /* BIOS POS Program option select */
FIXME("INT15: option 0xc4 not handled!\n");
break;
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 04b1968..433314b 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -1069,7 +1069,7 @@ static void test_GetPrinterDriverDirecto
"'len > 0' or '0' with ERROR_INVALID_ENVIRONMENT)\n",
res, GetLastError(), lstrlenA((char *)buffer));
- /* A Setup-Programm (PDFCreator_0.8.0) use empty strings */
+ /* A setup program (PDFCreator_0.8.0) use empty strings */
SetLastError(MAGIC_DEAD);
res = GetPrinterDriverDirectoryA(empty, empty, 1, buffer, cbBuf*2, &pcbNeeded);
ok(res, "returned %d with %d (expected '!=0')\n", res, GetLastError() );
@@ -1097,7 +1097,7 @@ static void test_GetPrintProcessorDirect
SetLastError(0xdeadbeef);
res = GetPrintProcessorDirectoryA(NULL, NULL, 1, NULL, 0, &cbBuf);
- /* The deactivated Spooler is catched here on NT3.51 */
+ /* The deactivated Spooler is caught here on NT3.51 */
RETURN_ON_DEACTIVATED_SPOOLER(res)
ok( !res && (GetLastError() == ERROR_INSUFFICIENT_BUFFER),
"returned %d with %d (expected '0' with ERROR_INSUFFICIENT_BUFFER)\n",
@@ -1125,7 +1125,7 @@ static void test_GetPrintProcessorDirect
res, GetLastError());
#if 0
- /* XPsp2: the programm will crash here, when the spooler is not running */
+ /* XPsp2: the program will crash here, when the spooler is not running */
/* GetPrinterDriverDirectory has the same bug */
pcbNeeded = 0;
SetLastError(0xdeadbeef);
@@ -1226,7 +1226,7 @@ static void test_OpenPrinter(void)
SetLastError(MAGIC_DEAD);
res = OpenPrinter(NULL, NULL, NULL);
- /* The deactivated Spooler is catched here on NT3.51 */
+ /* The deactivated Spooler is caught here on NT3.51 */
RETURN_ON_DEACTIVATED_SPOOLER(res)
ok(!res && (GetLastError() == ERROR_INVALID_PARAMETER),
"returned %d with %d (expected '0' with ERROR_INVALID_PARAMETER)\n",
@@ -1237,7 +1237,7 @@ static void test_OpenPrinter(void)
hprinter = (HANDLE) MAGIC_DEAD;
SetLastError(MAGIC_DEAD);
res = OpenPrinter(NULL, &hprinter, NULL);
- /* The deactivated Spooler is catched here on XPsp2 */
+ /* The deactivated Spooler is caught here on XPsp2 */
RETURN_ON_DEACTIVATED_SPOOLER(res)
ok(res || (!res && GetLastError() == ERROR_INVALID_PARAMETER),
"returned %d with %d (expected '!=0' or '0' with ERROR_INVALID_PARAMETER)\n",
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 59a32db..91cc581 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -728,7 +728,7 @@ static BOOL WINECON_Spawn(struct inner_d
&startup.hStdError, GENERIC_READ|GENERIC_WRITE, TRUE, 0))
{
WINE_ERR("Can't dup handles\n");
- /* no need to delete handles, we're exiting the programm anyway */
+ /* no need to delete handles, we're exiting the program anyway */
return FALSE;
}
diff --git a/programs/winedbg/break.c b/programs/winedbg/break.c
index c99454c..0ff55e7 100644
--- a/programs/winedbg/break.c
+++ b/programs/winedbg/break.c
@@ -779,7 +779,7 @@ BOOL break_should_continue(ADDRESS64* ad
/***********************************************************************
* break_ajust_pc
*
- * Adjust PC to the address where the trap (if any) actually occured
+ * Adjust PC to the address where the trap (if any) actually occurred
* Also sets dbg_curr_thread->stopped_xpoint
*/
void break_adjust_pc(ADDRESS64* addr, DWORD code, BOOL* is_break)