Correct addon formatting problem

This commit is contained in:
hooper114 2009-07-07 22:01:59 +00:00
parent d3e2fe9b6b
commit 3b12f14bad

View File

@ -284,8 +284,8 @@ int svg_plot(struct zint_symbol *symbol)
do { do {
block_width++; block_width++;
} while (module_is_set(symbol, this_row, i + block_width) == module_is_set(symbol, this_row, i)); } while (module_is_set(symbol, this_row, i + block_width) == module_is_set(symbol, this_row, i));
if((addon_latch == 0) && (r == 0) && (i > main_width)) { if((addon_latch == 0) && (r == (symbol->rows - 1)) && (i > main_width)) {
addon_text_posn = 9.0 + symbol->border_width; addon_text_posn = (row_posn + 8.0) * scaler;
addon_latch = 1; addon_latch = 1;
} }
if(latch == 1) { if(latch == 1) {