From e072a0723e5f994d23ab63085437de12b5c75d7b Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Thu, 1 Jul 2010 22:18:53 +0100 Subject: [PATCH] Correct HRT error Correct an error which prevented human readable text being saved in SVG images. --- backend/svg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/svg.c b/backend/svg.c index ef4ad1b2..b6cac3ac 100644 --- a/backend/svg.c +++ b/backend/svg.c @@ -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) {