mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-20 11:27:09 +00:00
Remove Maxicode segfault bug
Missing punctuation causes Maxicode plotting in raster image to segfault
This commit is contained in:
@@ -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 */
|
||||
float x = 14.5 * scaler;
|
||||
float y = 15.0 * scaler;
|
||||
|
||||
Reference in New Issue
Block a user