Correct HRT error

Correct an error which prevented human readable text being saved in SVG images.
This commit is contained in:
Robin Stuart 2010-07-01 22:18:53 +01:00
parent 46d604dad7
commit e072a0723e

View file

@ -167,7 +167,7 @@ int svg_plot(struct zint_symbol *symbol)
}
addon[r] = '\0';
if((symbol->show_hrt == 0) || (ustrlen(symbol->text) != 0)) {
if((symbol->show_hrt == 0) || (ustrlen(symbol->text) == 0)) {
plot_text = 0;
}
if(plot_text) {