Debian Codegraph @

debian/patches/0035-Fix-6-typos-698.patch

raw
1 From c2a0d94d028b472691507936ab3a7c08c86c83e6 Mon Sep 17 00:00:00 2001
2 From: RoboSchmied <[email protected]>
3 Date: Fri, 12 Apr 2024 17:54:01 +0200
4 Subject: [PATCH 35/36] Fix: 6 typos (#698)
5
6 Signed-off-by: RoboSchmied <[email protected]>
7 ---
8 Detour/Include/DetourNavMeshBuilder.h | 4 ++--
9 Detour/Source/DetourNavMeshBuilder.cpp | 6 +++---
10 DetourTileCache/Include/DetourTileCacheBuilder.h | 2 +-
11 3 files changed, 6 insertions(+), 6 deletions(-)
12
13 diff --git a/Detour/Include/DetourNavMeshBuilder.h b/Detour/Include/DetourNavMeshBuilder.h
14 index f99be5d..1840ab5 100644
15 --- a/Detour/Include/DetourNavMeshBuilder.h
16 +++ b/Detour/Include/DetourNavMeshBuilder.h
17 @@ -112,12 +112,12 @@ struct dtNavMeshCreateParams
18 /// @return True if the tile data was successfully created.
19 bool dtCreateNavMeshData(dtNavMeshCreateParams* params, unsigned char** outData, int* outDataSize);
20
21 -/// Swaps the endianess of the tile data's header (#dtMeshHeader).
22 +/// Swaps the endianness of the tile data's header (#dtMeshHeader).
23 /// @param[in,out] data The tile data array.
24 /// @param[in] dataSize The size of the data array.
25 bool dtNavMeshHeaderSwapEndian(unsigned char* data, const int dataSize);
26
27 -/// Swaps endianess of the tile data.
28 +/// Swaps endianness of the tile data.
29 /// @param[in,out] data The tile data array.
30 /// @param[in] dataSize The size of the data array.
31 bool dtNavMeshDataSwapEndian(unsigned char* data, const int dataSize);
32 diff --git a/Detour/Source/DetourNavMeshBuilder.cpp b/Detour/Source/DetourNavMeshBuilder.cpp
33 index 2c43370..07ba863 100644
34 --- a/Detour/Source/DetourNavMeshBuilder.cpp
35 +++ b/Detour/Source/DetourNavMeshBuilder.cpp
36 @@ -705,10 +705,10 @@ bool dtNavMeshHeaderSwapEndian(unsigned char* data, const int /*dataSize*/)
37
38 /// @par
39 ///
40 -/// @warning This function assumes that the header is in the correct endianess already.
41 -/// Call #dtNavMeshHeaderSwapEndian() first on the data if the data is expected to be in wrong endianess
42 +/// @warning This function assumes that the header is in the correct endianness already.
43 +/// Call #dtNavMeshHeaderSwapEndian() first on the data if the data is expected to be in wrong endianness
44 /// to start with. Call #dtNavMeshHeaderSwapEndian() after the data has been swapped if converting from
45 -/// native to foreign endianess.
46 +/// native to foreign endianness.
47 bool dtNavMeshDataSwapEndian(unsigned char* data, const int /*dataSize*/)
48 {
49 // Make sure the data is in right format.
50 diff --git a/DetourTileCache/Include/DetourTileCacheBuilder.h b/DetourTileCache/Include/DetourTileCacheBuilder.h
51 index 1103cb6..20693bf 100644
52 --- a/DetourTileCache/Include/DetourTileCacheBuilder.h
53 +++ b/DetourTileCache/Include/DetourTileCacheBuilder.h
54 @@ -146,7 +146,7 @@ dtStatus dtBuildTileCachePolyMesh(dtTileCacheAlloc* alloc,
55 dtTileCacheContourSet& lcset,
56 dtTileCachePolyMesh& mesh);
57
58 -/// Swaps the endianess of the compressed tile data's header (#dtTileCacheLayerHeader).
59 +/// Swaps the endianness of the compressed tile data's header (#dtTileCacheLayerHeader).
60 /// Tile layer data does not need endian swapping as it consist only of bytes.
61 /// @param[in,out] data The tile data array.
62 /// @param[in] dataSize The size of the data array.
63 --
64 2.43.0
65