From ae4337f06602b7ea2b2ce8dc1cdb215f501401dc Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 4 Jan 2022 05:28:19 -0500 Subject: [PATCH] Fix various typos (#1178) Found via `codespell -q 3 -S ./res/locales,./extlib -L asign,ba,hsi,mata,pinter,tothe,wser` Co-authored-by: Maximilian Federle --- src/importmesh.cpp | 4 ++-- src/ttf.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/importmesh.cpp b/src/importmesh.cpp index df9a65bf..4b7e343a 100644 --- a/src/importmesh.cpp +++ b/src/importmesh.cpp @@ -10,7 +10,7 @@ #define MIN_POINT_DISTANCE 0.001 -// we will check for duplicate verticies and keep all their normals +// we will check for duplicate vertices and keep all their normals class vertex { public: Vector p; @@ -171,7 +171,7 @@ bool LinkStl(const Platform::Path &filename, EntityList *el, SMesh *m, SShell *s addUnique(verts, tr.b, normal); addUnique(verts, tr.c, normal); } - dbp("%d verticies", verts.size()); + dbp("%d vertices", verts.size()); BBox box = {}; box.minp = verts[0].p; diff --git a/src/ttf.cpp b/src/ttf.cpp index ddb2aa17..e39afc79 100644 --- a/src/ttf.cpp +++ b/src/ttf.cpp @@ -11,7 +11,7 @@ #include FT_ADVANCES_H /* Yecch. Irritatingly, you need to do this nonsense to get the error string table, - since nobody thought to put this exact function into FreeType itsself. */ + since nobody thought to put this exact function into FreeType itself. */ #undef __FTERRORS_H__ #define FT_ERRORDEF(e, v, s) { (e), (s) }, #define FT_ERROR_START_LIST