[BUGFIX] crash when setting the line style/width > 1

This commit is contained in:
Matthias Koefferlein 2019-05-28 00:04:32 +02:00
parent 7e62d04ffe
commit f4939a6efc
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ render_scanline_std_edge (const uint32_t *dp, unsigned int ds, const lay::Bitmap
uint32_t ddp = 0;
int x = int (w);
while (x >= 0) {
while (x > 0) {
uint32_t d = 0;
uint32_t dsn = 0, dsp = 0;