Commit d6c48b9167c1f3269211a0e66ba04cca2a32c247
1 parent
de482a87
Exists in
master
and in
5 other branches
Campos preenchidos com "_" passam a ser considerados vazios na exportação para html
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/lib3270/html.c
@@ -218,7 +218,7 @@ | @@ -218,7 +218,7 @@ | ||
218 | return; | 218 | return; |
219 | } | 219 | } |
220 | 220 | ||
221 | - for(pos = strlen(info->text)-1;pos > 0 && info->text[pos] == ' '; pos--) | 221 | + for(pos = strlen(info->text)-1;pos > 0 && (info->text[pos] == ' ' || info->text[pos] == '_'); pos--) |
222 | info->text[pos] = 0; | 222 | info->text[pos] = 0; |
223 | 223 | ||
224 | snprintf(buffer,80,"\" maxlength=\"%d\" class=\"IW%03d\"",info->maxlength,info->maxlength); | 224 | snprintf(buffer,80,"\" maxlength=\"%d\" class=\"IW%03d\"",info->maxlength,info->maxlength); |