From 2d09187508e39b850415ed22340ef5e2bdff46db Mon Sep 17 00:00:00 2001 From: Aidan Haas <94150901+ahaas25@users.noreply.github.com> Date: Sat, 17 Dec 2022 22:31:57 -0500 Subject: [PATCH] Quick fix --- typing_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typing_test.c b/typing_test.c index 0c13d8b..f307cad 100644 --- a/typing_test.c +++ b/typing_test.c @@ -387,10 +387,10 @@ int main() { if (cursor_x == 0 && cursor_y == 2) { /* Exit */ run = 0; - } else if (cursor_x == 1) { + } else if (cursor_x == 1 && cursor_y == 2) { /* Stats */ stat_ui(stdscr); - } else if (cursor_x == 2) { + } else if (cursor_x == 2 && cursor_y == 2) { /* Settings */ settings_ui(stdscr); } else if (cursor_y == 1 || cursor_y == 0) {