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 <max.federle@gmail.com>
pull/1180/head
luzpaz 2022-01-04 05:28:19 -05:00 committed by GitHub
parent 39ca23f38e
commit ae4337f066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
#define MIN_POINT_DISTANCE 0.001 #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 { class vertex {
public: public:
Vector p; 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.b, normal);
addUnique(verts, tr.c, normal); addUnique(verts, tr.c, normal);
} }
dbp("%d verticies", verts.size()); dbp("%d vertices", verts.size());
BBox box = {}; BBox box = {};
box.minp = verts[0].p; box.minp = verts[0].p;

View File

@ -11,7 +11,7 @@
#include FT_ADVANCES_H #include FT_ADVANCES_H
/* Yecch. Irritatingly, you need to do this nonsense to get the error string table, /* 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__ #undef __FTERRORS_H__
#define FT_ERRORDEF(e, v, s) { (e), (s) }, #define FT_ERRORDEF(e, v, s) { (e), (s) },
#define FT_ERROR_START_LIST #define FT_ERROR_START_LIST