Commit d6c48b9167c1f3269211a0e66ba04cca2a32c247

Authored by perry.werneck@gmail.com
1 parent de482a87

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 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 222 info->text[pos] = 0;
223 223  
224 224 snprintf(buffer,80,"\" maxlength=\"%d\" class=\"IW%03d\"",info->maxlength,info->maxlength);
... ...