Make compile with MS-VC6

This commit is contained in:
Harald Oehlmann 2017-10-16 19:26:54 +02:00
parent bfb183e5df
commit f83e5b1501
22 changed files with 98 additions and 64 deletions

View file

@ -743,14 +743,15 @@ int emf_plot(struct zint_symbol *symbol) {
}
/* Make image rectangles, circles, hexagons */
for (this_row = 0; this_row < symbol->rows; this_row++) {
for (this_row = 0; this_row < symbol->rows; this_row++) {
float row_posn;
if (symbol->row_height[this_row] == 0) {
row_height = large_bar_height;
} else {
row_height = symbol->row_height[this_row];
}
float row_posn = 0;
row_posn = 0;
for (i = 0; i < this_row; i++) {
if (symbol->row_height[i] == 0) {
row_posn += large_bar_height;