mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
tif.c: allow strip_count 1 & specially handle; #191 clang-tidy warning
This commit is contained in:
@ -81,6 +81,7 @@ static void test_pixel_plot(int index, int debug) {
|
||||
|
||||
symbol->bitmap_width = data[i].width;
|
||||
symbol->bitmap_height = data[i].height;
|
||||
symbol->debug |= debug;
|
||||
|
||||
int size = data[i].width * data[i].height;
|
||||
assert_nonzero(size < (int) sizeof(data_buf), "i:%d gif_pixel_plot size %d < sizeof(data_buf) %d\n", i, size, (int) sizeof(data_buf));
|
||||
|
Reference in New Issue
Block a user