Misc. typos

Found via `codespell -q 3 --skip="./res/locales,./extlib"`
This commit is contained in:
luz.paz 2018-09-06 18:47:02 -04:00 committed by whitequark
parent 4d1e1341d9
commit 258545a334
4 changed files with 5 additions and 5 deletions

View File

@ -144,7 +144,7 @@ if __name__ == '__main__':
break
elif response[0] == 'PING':
file.send('PONG {}\r\n'.format(reponse[1]).encode('utf_8'))
file.send('PONG {}\r\n'.format(response[1]).encode('utf_8'))
elif response[1] == '433':
sock.send('NICK {}\r\n'.format(irc_nick).encode('utf_8'))

View File

@ -24,7 +24,7 @@ void main() {
// calculate cap
float dist = length(vec2(val * patternScale / (patternLen * width) + abs(fragLoc.x), fragLoc.y));
// perform antialising
// perform antialiasing
float k = smoothstep(1.0 - 2.0 * feather * pixel / (width + feather * pixel), 1.0, abs(dist));
// perform alpha-test

View File

@ -425,7 +425,7 @@ void SSurface::ClosestPointTo(Vector p, Point2d *puv, bool mustConverge) {
void SSurface::ClosestPointTo(Vector p, double *u, double *v, bool mustConverge) {
// A few special cases first; when control points are coincident the
// derivative goes to zero at the conrol points, and would result in
// derivative goes to zero at the control points, and would result in
// nonconvergence. We avoid that here, and also guarantee a consistent
// (u, v) (of the infinitely many possible in one parameter).
if(p.Equals(ctrl[0] [0] )) { *u = 0; *v = 0; return; }

View File

@ -58,7 +58,7 @@ inline const char *C_(const char *msgctxt, const char *msgid) {
}
#endif
// This table describes the top-level menus in the graphics winodw.
// This table describes the top-level menus in the graphics window.
enum class Command : uint32_t {
NONE = 0,
// File
@ -291,7 +291,7 @@ public:
GROUP_SCALE = 3,
GROUP_COLOR = 4,
GROUP_OPACITY = 5,
// For the configuraiton screen
// For the configuration screen
LIGHT_DIRECTION = 100,
LIGHT_INTENSITY = 101,
COLOR = 102,