X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fpath.cpp;h=af9fb74181e4038d075346462bad377d2a0f2039;hp=589c5099606f128089c610125034495682b26158;hb=03cc1b0a0d0705e0b1d92e13fdb18608c7a00272;hpb=ea748154f1bc7dbc81cb52611a52865e63109439 diff --git a/src/path.cpp b/src/path.cpp index 589c509..af9fb74 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -14,10 +14,10 @@ Path::Path(const Objects & objects, unsigned start, unsigned end, const Colour & // Find the bounds coordinates // and identify the top left and bottom right objects - unsigned left; - unsigned right; - unsigned top; - unsigned bottom; + unsigned left = m_start; + unsigned right = m_start; + unsigned top = m_start; + unsigned bottom = m_start; for (unsigned i = m_start; i <= m_end; ++i) {