diff options
| author | luz.paz <luzpaz@users.noreply.github.com> | 2018-01-08 21:50:51 +0000 |
|---|---|---|
| committer | luz.paz <luzpaz@users.noreply.github.com> | 2018-01-08 21:50:51 +0000 |
| commit | 202e75590f8200823ef0efd36cc0edbd1bf1edcc (patch) | |
| tree | 1a18f646f7e49b0e1836efd6401793f6e9c38d68 /share/extensions/hpgl_encoder.py | |
| parent | Restore ability to switch mode while using spray tool (is this even useful?). (diff) | |
| download | inkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.tar.gz inkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.zip | |
Misc. typos
Found via `codespell`
Diffstat (limited to 'share/extensions/hpgl_encoder.py')
| -rw-r--r-- | share/extensions/hpgl_encoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/hpgl_encoder.py b/share/extensions/hpgl_encoder.py index 353b8aa0a..e8c7a6151 100644 --- a/share/extensions/hpgl_encoder.py +++ b/share/extensions/hpgl_encoder.py @@ -293,7 +293,7 @@ class hpglEncoder: oldPosY = posY def getLength(self, x1, y1, x2, y2, absolute=True): - # calc absoulute or relative length between two points + # calc absolute or relative length between two points length = math.sqrt((x2 - x1) ** 2.0 + (y2 - y1) ** 2.0) if absolute: length = math.fabs(length) |
