Module: wine
Branch: master
Commit: a4fabd283dd4d640ff6afc90905048b65df53ec1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4fabd283dd4d640ff6afc909…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Tue Aug 2 01:10:08 2016 +0300
ddraw: Fix its vs it's typos.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ddraw/ddraw_private.h | 2 +-
dlls/ddraw/main.c | 2 +-
dlls/ddraw/tests/d3d.c | 2 +-
dlls/ddraw/viewport.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h
index b3b171a..667dcd0 100644
--- a/dlls/ddraw/ddraw_private.h
+++ b/dlls/ddraw/ddraw_private.h
@@ -180,7 +180,7 @@ struct ddraw_surface
*/
#define MAX_COMPLEX_ATTACHED 6
struct ddraw_surface *complex_array[MAX_COMPLEX_ATTACHED];
- /* You can't traverse the tree upwards. Only a flag for Surface::Release because its needed there,
+ /* You can't traverse the tree upwards. Only a flag for Surface::Release because it's needed there,
* but no pointer to prevent temptations to traverse it in the wrong direction.
*/
BOOL is_complex_root;
diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c
index 0f7398b..bb9e37f 100644
--- a/dlls/ddraw/main.c
+++ b/dlls/ddraw/main.c
@@ -772,7 +772,7 @@ HRESULT WINAPI DllUnregisterServer(void)
*
* Params:
* surf: The enumerated surface
- * desc: it's description
+ * desc: its description
* context: Pointer to the ddraw impl
*
* Returns:
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index d877020..8c82e4c 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -415,7 +415,7 @@ static void StateTest( void )
{
HRESULT rc;
- /* The msdn says its undocumented, does it return an error too? */
+ /* The msdn says it's undocumented, does it return an error too? */
rc = IDirect3DDevice7_SetRenderState(lpD3DDevice, D3DRENDERSTATE_ZVISIBLE, TRUE);
ok(rc == D3D_OK, "IDirect3DDevice7_SetRenderState(D3DRENDERSTATE_ZVISIBLE, TRUE) returned %08x\n", rc);
rc = IDirect3DDevice7_SetRenderState(lpD3DDevice, D3DRENDERSTATE_ZVISIBLE, FALSE);
diff --git a/dlls/ddraw/viewport.c b/dlls/ddraw/viewport.c
index 154f9aa..000158d 100644
--- a/dlls/ddraw/viewport.c
+++ b/dlls/ddraw/viewport.c
@@ -480,7 +480,7 @@ static HRESULT WINAPI d3d_viewport_TransformVertices(IDirect3DViewport3 *iface,
}
/* According to the d3d test, the offscreen flag is set only
- * if exactly one vertex is transformed. Its not documented,
+ * if exactly one vertex is transformed. It's not documented,
* but the test shows that the lpOffscreen flag is set to the
* flag combination of clipping planes that clips the vertex.
*
@@ -580,7 +580,7 @@ static HRESULT WINAPI d3d_viewport_GetBackground(IDirect3DViewport3 *iface,
/*****************************************************************************
* IDirect3DViewport3::SetBackgroundDepth
*
- * Sets a surface that represents the background depth. It's contents are
+ * Sets a surface that represents the background depth. Its contents are
* used to set the depth buffer in IDirect3DViewport3::Clear
*
* Params:
Module: wine
Branch: master
Commit: 7de025c970e7239316ad25b9c6c6bafd1647de48
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7de025c970e7239316ad25b9c…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Tue Aug 2 01:10:09 2016 +0300
ntdll: Fix its vs it's typos.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/ntdll/sync.c | 2 +-
dlls/ntdll/threadpool.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index bef85a8..c179760 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -1537,7 +1537,7 @@ DWORD WINAPI RtlRunOnceExecuteOnce( RTL_RUN_ONCE *once, PRTL_RUN_ONCE_INIT_FN fu
* purposes. The following table lists all possible states the lock can be
* in, notation: [X, #exclusive, #shared]:
*
- * [0, 0, N] -> locked by N shared access threads, if N=0 its unlocked
+ * [0, 0, N] -> locked by N shared access threads, if N=0 it's unlocked
* [0, >=1, >=1] -> threads are requesting exclusive locks, but there are
* still shared access threads inside. #shared should not be incremented
* anymore!
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index 15510e2..799245c 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -1217,7 +1217,7 @@ static void CALLBACK timerqueue_thread_proc( void *param )
timer->u.timer.timer_pending = FALSE;
tp_object_submit( timer, FALSE );
- /* Insert the timer back into the queue, except its marked for shutdown. */
+ /* Insert the timer back into the queue, except it's marked for shutdown. */
if (timer->u.timer.period && !timer->shutdown)
{
timer->u.timer.timeout += (ULONGLONG)timer->u.timer.period * 10000;