diff options
author | D. Shah <dave@ds0.me> | 2021-01-28 15:19:06 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-01-28 15:19:06 +0000 |
commit | 94e8847d674388c3c8ac663fa4912bb8029b2951 (patch) | |
tree | 8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /gui/lineshader.cc | |
parent | 5fc3e8e4d2d82396e8ade480192379ccff95a931 (diff) | |
download | nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.gz nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.tar.bz2 nextpnr-94e8847d674388c3c8ac663fa4912bb8029b2951.zip |
cleanup: Spelling fixes
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'gui/lineshader.cc')
-rw-r--r-- | gui/lineshader.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/lineshader.cc b/gui/lineshader.cc index eded1689..4175dcec 100644 --- a/gui/lineshader.cc +++ b/gui/lineshader.cc @@ -26,7 +26,7 @@ void PolyLine::buildPoint(LineShaderData *building, const QVector2D *prev, const const QVector2D *next) const { // buildPoint emits two vertices per line point, along with normals to move - // them the right directio when rendering and miter to compensate for + // them the right direction when rendering and miter to compensate for // bends. if (cur == nullptr) { @@ -104,7 +104,7 @@ void PolyLine::build(LineShaderData &target) const // For every point on the line, call buildPoint with (prev, point, next). // If we're building a closed line, prev/next wrap around. Otherwise - // they are passed as nullptr and buildPoint interprets that accordinglu. + // they are passed as nullptr and buildPoint interprets that accordingly. const QVector2D *prev = nullptr; // Loop iterator used to ensure next is valid. |