From 1580e87164ccfb11d2021eba712e22a0105cc9f3 Mon Sep 17 00:00:00 2001 From: dam Date: Fri, 11 Nov 2022 01:48:37 +0000 Subject: Re-do truncate_string_utf8. --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 0d70120..973c8d2 100644 --- a/readme.md +++ b/readme.md @@ -60,8 +60,8 @@ Task Time Tracker - [x] Replaced `sprintf` by `snprintf`; - [x] Make sure that string_buffer bounds are respected; - [ ] Compress code: - - [x] Re-do sprint_time5_utf8: -12 LOC; - - [ ] Re-do truncate_string_utf8: 1761 - XXXX = LOC; + - [x] Re-do sprint_time5_utf8: -12 delta LOC; + - [x] Re-do truncate_string_utf8: 0 delta LOC; - [ ] Get input using `get_input(char *input, size_t size, int row, int column)` (what does it returns???): - [ ] wrap malloc (and maybe others) in a function with error checking ```c @@ -72,5 +72,6 @@ Task Time Tracker - `select_task_by_index(database_st *db, size_t???)` - `sect_active(database_st *db, task_st *task)` - [ ] Check if draw_tui may be simplified by drawing entire lines of tasks at once and draw columns separators after; +- [ ] Rename `MAX_TASK_NAME` to `TASK_NAME_BUFFER_SIZE`; - [ ] Review all code for bugs related to auto-cast on ptrdiff_t/size_t (signed/unsigned); - [ ] Go over all `TODO` items; -- cgit v1.2.3