1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some stray zeros that were still being passed as null pointers

This commit is contained in:
jules 2018-10-05 11:47:54 +01:00
parent 1eb3de3312
commit 6fda0bffca
54 changed files with 237 additions and 221 deletions

View file

@ -654,10 +654,10 @@ namespace PathStrokeHelpers
}
void PathStrokeType::createStrokedPath (Path& destPath, const Path& sourcePath,
const AffineTransform& transform, const float extraAccuracy) const
const AffineTransform& transform, float extraAccuracy) const
{
PathStrokeHelpers::createStroke (thickness, jointStyle, endStyle, destPath, sourcePath,
transform, extraAccuracy, 0);
transform, extraAccuracy, nullptr);
}
void PathStrokeType::createDashedStroke (Path& destPath,
@ -665,7 +665,7 @@ void PathStrokeType::createDashedStroke (Path& destPath,
const float* dashLengths,
int numDashLengths,
const AffineTransform& transform,
const float extraAccuracy) const
float extraAccuracy) const
{
jassert (extraAccuracy > 0);