Fix various typos across the codebase

This commit is contained in:
Hiroaki Yamamoto 2024-03-08 21:59:20 +09:00 committed by GitHub
parent 60aab98e8d
commit be37f9a564
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 40 additions and 40 deletions

View file

@ -384,7 +384,7 @@ edges_find_neighbors(struct border *nearest_edges, struct view *view,
assert(nearest_edges);
if (!output_is_usable(view->output)) {
wlr_log(WLR_DEBUG, "ignoring edge search for view on unsable output");
wlr_log(WLR_DEBUG, "ignoring edge search for view on unusable output");
return;
}
@ -446,7 +446,7 @@ edges_find_outputs(struct border *nearest_edges, struct view *view,
if (!output_is_usable(view->output)) {
wlr_log(WLR_DEBUG,
"ignoring edge search for view on unsable output");
"ignoring edge search for view on unusable output");
return;
}
@ -599,7 +599,7 @@ linear_interp(int x, int x1, int y1, int x2, int y2)
return 0.5 * (y1 + y2);
}
/* Othewise, linearly interpolate */
/* Otherwise, linearly interpolate */
int dx = x - x1;
return y1 + dx * (rise / (double)run);
}