Skip to content

Commit

Permalink
ui_dbg.h: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Dec 23, 2023
1 parent 833b972 commit 3ab9306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/ui_dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1774,9 +1774,9 @@ static void _ui_dbg_draw_main(ui_dbg_t* win) {
bool in_safe_area = (line_i >= (clipper.DisplayStart+safe_lines)) && (line_i <= (clipper.DisplayEnd-safe_lines));
bool is_pc_line = (addr == pc);
if (is_pc_line &&
(force_scroll ||
(!in_safe_area && win->ui.request_scroll) ||
(!in_safe_area && !win->dbg.stopped)))
(force_scroll ||
(!in_safe_area && win->ui.request_scroll) ||
(!in_safe_area && !win->dbg.stopped)))
{
win->ui.request_scroll = false;
int scroll_to_line = line_i - safe_lines - 2;
Expand Down

0 comments on commit 3ab9306

Please sign in to comment.