Skip to content

Commit

Permalink
mismatch between allocated and used memory fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
uwerat committed Nov 14, 2024
1 parent d1c2751 commit b5c56f7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/nodes/QskBoxBasicStroker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ static inline void qskCreateFill(
using namespace QskVertex;
using namespace Qt;

const auto cn = m_metrics.corners;
const bool isHorizontal = m_metrics.preferredOrientation == Qt::Horizontal;
const bool isHorizontal = ( m_metrics.preferredOrientation == Qt::Horizontal );

if ( !m_metrics.isInsideRounded )
{
Expand All @@ -258,7 +257,7 @@ static inline void qskCreateFill(
}
else if ( m_metrics.isOutsideSymmetric )
{
const int stepCount = cn[ 0 ].stepCount;
const int stepCount = m_metrics.corners[ 0 ].innerStepCount();

if ( isHorizontal )
{
Expand Down

0 comments on commit b5c56f7

Please sign in to comment.