X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.cpp;h=f8a17964cd24b1b5173e733d1207ed5d14efd99f;hp=b347c76142bbe5a4f805a373275cae895295f5d1;hb=c4f8f7c6c7e43fc9fd5358197ca866b4186f636c;hpb=a9883b166454c794e342ccc262ca97e0394af980 diff --git a/src/document.cpp b/src/document.cpp index b347c76..f8a1796 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -445,8 +445,11 @@ done: // matches is not amused, but sulix is nice and moved it inside the #ifdef m_count++; PropagateQuadChanges(qti); } + return m_count; +#else // words fail me (still not amused) + return (m_count++); #endif - return m_count; // Why can't we just use the size of types or something? + } unsigned Document::AddBezierData(const Bezier & bezier)