diff options
author | Andrés <andmarti@gmail.com> | 2021-03-16 09:13:25 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-03-16 09:13:25 -0300 |
commit | e5788aadcc67b2e9f409337bb2e743bb9f49682c (patch) | |
tree | b2ede4bf0d54521c8178fe445f72d8a4fc3d8df8 | |
parent | eb3843a9b04168a5f0f0d0d6cbd13ac76dde264c (diff) |
Fix when showing both numbers and text on a same cell when using engformat
-rw-r--r-- | src/tui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1182,6 +1182,7 @@ int ui_get_formated_value(struct ent ** p, int col, char * value) { } else { // there is no format // FIXME: error with number and text in same cell and no overlap engformat(realfmt[col], fwidth[col], precision[col], (*p)->v, value, sizeof(char) * FBUFLEN); + ltrim(value, ' '); return 1; } } |