Nikolay Sivov : ddraw: Fix its vs it's typos.

Alexandre Julliard julliard at winehq.org
Tue Aug 2 17:33:32 CDT 2016


Module: wine
Branch: master
Commit: a4fabd283dd4d640ff6afc90905048b65df53ec1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a4fabd283dd4d640ff6afc90905048b65df53ec1

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Aug  2 01:10:08 2016 +0300

ddraw: Fix its vs it's typos.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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:




More information about the wine-cvs mailing list