Skip to content

Commit

Permalink
style: Fix remaining clang-format issues in handlers.c
Browse files Browse the repository at this point in the history
Co-Authored-By: Matt Wong <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and liquidaty committed Dec 18, 2024
1 parent 61b33b3 commit 1c8e353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/sheet/handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,16 @@ struct zsvsheet_buffer_info_internal zsvsheet_buffer_info_internal(zsvsheet_buff
info.has_row_num = has_row_num(b);
info.rownum_col_offset = rownum_col_offset(b);
info.flags = b->flags.flags[0];
info.dimensions = b->dimensions; //Now safe since types match
info.dimensions = b->dimensions; // Now safe since types match
pthread_mutex_unlock(&b->mutex);
}

return info;
}

struct zsvsheet_buffer_info zsvsheet_buffer_info(zsvsheet_buffer_t h) {
struct zsvsheet_buffer_info d = { 0 };
if(h) {
struct zsvsheet_buffer_info d = {0};
if (h) {
struct zsvsheet_ui_buffer *b = (struct zsvsheet_ui_buffer *)h;
pthread_mutex_lock(&b->mutex);
d.has_row_num = has_row_num(b);
Expand Down

0 comments on commit 1c8e353

Please sign in to comment.