mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Remove Maxicode segfault bug
Missing punctuation causes Maxicode plotting in raster image to segfault
This commit is contained in:
parent
5c5bf9f635
commit
833877fb2f
@ -238,7 +238,7 @@ void draw_circle(char *pixelbuf, int image_width, int image_height, int x0, int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw_bullseye(char pixelbuf, int image_width, int image_height, int xoffset, int yoffset, int scaler) {
|
void draw_bullseye(char *pixelbuf, int image_width, int image_height, int xoffset, int yoffset, int scaler) {
|
||||||
/* Central bullseye in Maxicode symbols */
|
/* Central bullseye in Maxicode symbols */
|
||||||
float x = 14.5 * scaler;
|
float x = 14.5 * scaler;
|
||||||
float y = 15.0 * scaler;
|
float y = 15.0 * scaler;
|
||||||
|
Loading…
Reference in New Issue
Block a user