lint(format): change format rules a bit

This commit is contained in:
2025-06-10 23:44:40 +02:00
parent 22c3f7c896
commit bb1ca09fd8
7 changed files with 20 additions and 27 deletions

View File

@@ -52,8 +52,8 @@ int read_desktop(FILE* fd, void* ctx,
// Key & Value
char* key = buf;
buf[eq_idx] = '\0'; // the equal
char* value = &buf[eq_idx+1];
buf[read_size-1] = '\0'; // the newline
char* value = &buf[eq_idx + 1];
buf[read_size - 1] = '\0'; // the newline
// Callback
struct status cb_ret = cb(ctx, table_name, key, value);