From d6c48b9167c1f3269211a0e66ba04cca2a32c247 Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Wed, 25 Jul 2012 13:34:37 +0000 Subject: [PATCH] Campos preenchidos com "_" passam a ser considerados vazios na exportação para html --- src/lib3270/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib3270/html.c b/src/lib3270/html.c index 0456250..006156c 100644 --- a/src/lib3270/html.c +++ b/src/lib3270/html.c @@ -218,7 +218,7 @@ return; } - for(pos = strlen(info->text)-1;pos > 0 && info->text[pos] == ' '; pos--) + for(pos = strlen(info->text)-1;pos > 0 && (info->text[pos] == ' ' || info->text[pos] == '_'); pos--) info->text[pos] = 0; snprintf(buffer,80,"\" maxlength=\"%d\" class=\"IW%03d\"",info->maxlength,info->maxlength); -- libgit2 0.21.2