From 9f479f096cb50fa8d1215e68c262f110116114ef Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Thu, 18 Jan 2018 21:37:17 +0100 Subject: Fix typos in code and docs with codespell Using v1.11.0 from https://github.com/lucasdemarchi/codespell --- servers/visual_server.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'servers/visual_server.cpp') diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 5f520f1d0..c689fda17 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -678,7 +678,7 @@ Error VisualServer::_surface_set_data(Array p_arrays, uint32_t p_format, uint32_ ERR_FAIL_COND_V(indices.size() == 0, ERR_INVALID_PARAMETER); ERR_FAIL_COND_V(indices.size() != p_index_array_len, ERR_INVALID_PARAMETER); - /* determine wether using 16 or 32 bits indices */ + /* determine whether using 16 or 32 bits indices */ PoolVector::Read read = indices.read(); const int *src = read.ptr(); @@ -943,7 +943,7 @@ void VisualServer::mesh_add_surface_from_arrays(RID p_mesh, PrimitiveType p_prim ERR_PRINT("index_array_len==NO_INDEX_ARRAY"); break; } - /* determine wether using 16 or 32 bits indices */ + /* determine whether using 16 or 32 bits indices */ if (array_len >= (1 << 16)) { elem_size = 4; @@ -1111,7 +1111,7 @@ Array VisualServer::_get_array_from_surface(uint32_t p_format, PoolVector= (1 << 16)) { elem_size = 4; @@ -1397,7 +1397,7 @@ Array VisualServer::_get_array_from_surface(uint32_t p_format, PoolVector::Read ir = p_index_data.read(); -- cgit v1.2.3-70-g09d2