git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add #define to transform Object bounds on the fly
[ipdf/code.git]
/
src
/
path.cpp
diff --git
a/src/path.cpp
b/src/path.cpp
index
af9fb74
..
f12e2a7
100644
(file)
--- a/
src/path.cpp
+++ b/
src/path.cpp
@@
-21,6
+21,8
@@
Path::Path(const Objects & objects, unsigned start, unsigned end, const Colour &
for (unsigned i = m_start; i <= m_end; ++i)
{
+ if (i >= objects.bounds.size())
+ break;
const Rect & objb = objects.bounds[i];
if (i == m_start || objb.x < xmin)
UCC
git Repository :: git.ucc.asn.au