summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/VectorIterator.hpp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-08-26 03:02:29 +0000
committerNorbert Preining <norbert@preining.info>2021-08-26 03:02:29 +0000
commit059cab71c68a3fbee36f60e8208d4a47d11c6b60 (patch)
treec982bcbf00c931a1474d68bf51dfeba5918cf76c /dviware/dvisvgm/src/VectorIterator.hpp
parent960421b0bcd1af561be3f2eb9468224969a7bd34 (diff)
CTAN sync 202108260302
Diffstat (limited to 'dviware/dvisvgm/src/VectorIterator.hpp')
-rw-r--r--dviware/dvisvgm/src/VectorIterator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dviware/dvisvgm/src/VectorIterator.hpp b/dviware/dvisvgm/src/VectorIterator.hpp
index 0fb53d78e4..45009e4ea1 100644
--- a/dviware/dvisvgm/src/VectorIterator.hpp
+++ b/dviware/dvisvgm/src/VectorIterator.hpp
@@ -2,7 +2,7 @@
** VectorIterator.hpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2021 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -93,7 +93,7 @@ class VectorIterator {
bool operator >= (const VectorIterator &it) const {return _pos >= it._pos;}
bool operator < (const VectorIterator &it) const {return _pos < it._pos;}
bool operator > (const VectorIterator &it) const {return _pos > it._pos;}
- bool valid () const {return _pos >= 0 && _pos < _vector.size();}
+ bool valid () const {return _pos < _vector.size();}
void invalidate () {_pos = _vector.size();}
void reset () {_pos = 0;}