[PATCH] ddraw: Fix typos in comments.

Nikolay Sivov nsivov at codeweavers.com
Mon Jan 8 05:52:32 CST 2018


On 01/08/2018 02:43 PM, Andrey Gusev wrote:

> Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
> ---
>   dlls/ddraw/device.c       | 2 +-
>   dlls/ddraw/vertexbuffer.c | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/ddraw/device.c b/dlls/ddraw/device.c
> index 542f23a0ef..28bb2fb52c 100644
> --- a/dlls/ddraw/device.c
> +++ b/dlls/ddraw/device.c
> @@ -1170,7 +1170,7 @@ static HRESULT WINAPI d3d_device3_EnumTextureFormats(IDirect3DDevice3 *iface,
>    * IDirect3DDevice2::EnumTextureformats
>    *
>    * EnumTextureFormats for Version 1 and 2, see
> - * IDirect3DDevice7::EnumTexureFormats for a more detailed description.
> + * IDirect3DDevice7::EnumTextureFormats for a more detailed description.
>    *
>    * This version has a different callback and does not enumerate FourCC
>    * formats
> diff --git a/dlls/ddraw/vertexbuffer.c b/dlls/ddraw/vertexbuffer.c
> index cc676f3985..83f3078c04 100644
> --- a/dlls/ddraw/vertexbuffer.c
> +++ b/dlls/ddraw/vertexbuffer.c
> @@ -254,7 +254,7 @@ static HRESULT WINAPI d3d_vertex_buffer7_Unlock(IDirect3DVertexBuffer7 *iface)
>    *  SrcIndex: Index of the first vertex in the src buffer to process
>    *  D3DDevice: Device to use for transformation
>    *  Flags: 0 for default, D3DPV_DONOTCOPYDATA to prevent copying
> - *         unchaned vertices
> + *         unchained vertices
>    *
I think that was meant to say "unchanged".
>    * Returns:
>    *  D3D_OK on success




More information about the wine-devel mailing list