diff options
author | mongo <andmarti@gmail.com> | 2018-06-27 14:10:44 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2018-06-27 14:10:44 -0300 |
commit | ad7ea4832b7504845f210f4b15009bae8dd37194 (patch) | |
tree | 7dcbaa88fadd75834eef658171958184af976b5d /src | |
parent | 35b9b4a4ea7c99c5e01e290f8bd2476b4feb64e6 (diff) |
work on issue 271
Diffstat (limited to 'src')
-rw-r--r-- | src/tui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -806,12 +806,12 @@ void ui_show_content(WINDOW * win, int mxrow, int mxcol) { #ifdef USECOLORS if ((*p) && (*p)->cellerror) { // cellerror ui_set_ucolor(win, &ucolors[CELL_ERROR]); + } else if ((*p) && (*p)->v < 0) { // cell negative + ui_set_ucolor(win, &ucolors[CELL_NEGATIVE]); } else if ((*p) && (*p)->expr) { ui_set_ucolor(win, &ucolors[EXPRESSION]); } else if ((*p) && (*p)->label) { // string ui_set_ucolor(win, &ucolors[STRG]); - } else if ((*p) && (*p)->flags & is_valid && (*p)->v < 0) { // cell negative - ui_set_ucolor(win, &ucolors[CELL_NEGATIVE]); } else if ((*p) && (*p)->flags & is_valid && ! (*p)->format) { // numeric value ui_set_ucolor(win, &ucolors[NUMB]); } else if ((*p) && (*p)->format && (*p)->format[0] == 'd') { // date format |