Skip to content

Commit

Permalink
Codespell fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik authored and phkahler committed Dec 14, 2023
1 parent 3e5f983 commit 486e43a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void GraphicsWindow::SelectByMarquee() {
}

//-----------------------------------------------------------------------------
// Sort the selection according to various critieria: the entities and
// Sort the selection according to various criteria: the entities and
// constraints separately, counts of certain types of entities (circles,
// lines, etc.), and so on.
//-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void SMesh::AddTriangle(STriMeta meta, Vector n, Vector a, Vector b, Vector c) {
Vector ab = b.Minus(a), bc = c.Minus(b);
Vector np = ab.Cross(bc);
if(np.Magnitude() < 1e-10) {
// ugh; gl sometimes tesselates to collinear triangles
// ugh; gl sometimes tessellates to collinear triangles
return;
}
if(np.Dot(n) > 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/platform/guihtml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ MessageDialogRef CreateMessageDialog(WindowRef parentWindow) {
// File dialogs
//-----------------------------------------------------------------------------

// In emscripten psuedo filesystem, all userdata will be stored in this directory.
// In emscripten pseudo filesystem, all userdata will be stored in this directory.
static std::string basePathInFilesystem = "/data/";


Expand Down
4 changes: 2 additions & 2 deletions src/platform/html/filemanagerui.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class FileManagerUI {
dialog.appendChild(filelist);

const dummyfilelistitem = document.createElement('li');
dummyfilelistitem.textContent = "(No file in psuedo filesystem)";
dummyfilelistitem.textContent = "(No file in pseudo filesystem)";
filelist.appendChild(dummyfilelistitem);

if (this.__isOpenDialog) {
Expand Down Expand Up @@ -341,7 +341,7 @@ class FileManagerUI {
const files = this.__getFileEntries_recurse(this.__basePathInFilesystem);
if (files.length < 1) {
const dummyfilelistitem = document.createElement('li');
dummyfilelistitem.textContent = "(No file in psuedo filesystem)";
dummyfilelistitem.textContent = "(No file in pseudo filesystem)";
this.__filelistElement.appendChild(dummyfilelistitem);

} else {
Expand Down
4 changes: 2 additions & 2 deletions src/platform/html/solvespaceui.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ window.addEventListener('keyup', function(event) {
});


// FIXME(emscripten): Should be implemnted in guihtmlcpp ?
// FIXME(emscripten): Should be implemented in guihtmlcpp ?
class FileUploadHelper {
constructor() {
this.modalRoot = document.createElement("div");
Expand Down Expand Up @@ -583,7 +583,7 @@ function createFileUploadHelperInstance() {
return new FileUploadHelper();
}

// FIXME(emscripten): Should be implemnted in guihtmlcpp ?
// FIXME(emscripten): Should be implemented in guihtmlcpp ?
class FileDownloadHelper {
constructor() {
this.modalRoot = document.createElement("div");
Expand Down
2 changes: 1 addition & 1 deletion src/srf/raycast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ bool SShell::ClassifyEdge(Class *indir, Class *outdir,
SBspUv::Class c = (srf.bsp) ? srf.bsp->ClassifyPoint(puv, dummy, &srf) : SBspUv::Class::OUTSIDE;
if(c == SBspUv::Class::OUTSIDE) continue;

// Edge-on-face (unless edge-on-edge above superceded)
// Edge-on-face (unless edge-on-edge above superseded)
Point2d pin, pout;
srf.ClosestPointTo(p.Plus(edge_n_in), &pin, /*mustConverge=*/false);
srf.ClosestPointTo(p.Plus(edge_n_out), &pout, /*mustConverge=*/false);
Expand Down
2 changes: 1 addition & 1 deletion src/view.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//-----------------------------------------------------------------------------
// The View menu, stuff to snap to certain special vews of the model, and to
// The View menu, stuff to snap to certain special views of the model, and to
// display our current view of the model to the user.
//
// Copyright 2008-2013 Jonathan Westhues.
Expand Down

0 comments on commit 486e43a

Please sign in to comment.