mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
Terminate array.
This commit is contained in:
@@ -589,6 +589,7 @@ void Magick::Options::strokeDashArray(const double *strokeDashArray_)
|
||||
sizeof(double)));
|
||||
// Copy elements
|
||||
memcpy(_drawInfo->dash_pattern,strokeDashArray_,(x+1)*sizeof(double));
|
||||
_drawInfo->dash_pattern[x]=0.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user