summaryrefslogtreecommitdiffstats
path: root/src/tui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui.c')
-rw-r--r--src/tui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tui.c b/src/tui.c
index a381117..b34b363 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -1123,7 +1123,8 @@ int ui_get_formated_value(struct ent ** p, int col, char * value) {
return 1;
}
} else { // there is no format
- return -1;
+ engformat(realfmt[col], fwidth[col], precision[col], (*p)->v, value, sizeof(char) * FBUFLEN);
+ return 1;
}
}