Skip to content

Commit

Permalink
delete unnecessary if_not_init_return() check in tb_set_cell()
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellwrosen authored and adsr committed Nov 18, 2023
1 parent 02b81d9 commit a8e2644
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion termbox2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,6 @@ int tb_hide_cursor(void) {
}

int tb_set_cell(int x, int y, uint32_t ch, uintattr_t fg, uintattr_t bg) {
if_not_init_return();
return tb_set_cell_ex(x, y, &ch, 1, fg, bg);
}

Expand Down

0 comments on commit a8e2644

Please sign in to comment.