diff options
author | andmarti1424 <andmarti@gmail.com> | 2018-10-22 19:26:52 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2018-10-22 19:26:52 -0300 |
commit | 1ad3e1550cee08d1410e23c1917393b8fa74691a (patch) | |
tree | 2bdd1dfccfbf6865a056b406fed96b1c8e3e9f52 /src/tui.c | |
parent | 1635225dc17a880981c0d4d2404963f46c88e2e4 (diff) |
Fixed warnings during build
Diffstat (limited to 'src/tui.c')
-rw-r--r-- | src/tui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1050,7 +1050,7 @@ void ui_show_celldetails() { linelim = 0; editexp(currow, curcol); /* set line to expr */ linelim = -1; - sprintf(head, "[%s] ", line); + sprintf(head, "[%.*s] ", FBUFLEN-4, line); mvwprintw(input_win, 0, inputline_pos, "%s", head); inputline_pos += strlen(head); } |