User Input: Fix small issue with the 'k' shortcut

This commit is contained in:
osamu-kj 2023-05-13 16:01:44 +02:00
parent ad50383d03
commit ce025500ec

View File

@ -149,9 +149,8 @@ bool Engine::input_handle_universal(WINDOW *win, char key) {
this->active_cell += 7;
break;
if (this->calendar->get_info().current_day-7 < 1) break;
case 'k':
if (this->calendar->get_info().current_day-7 < 1) break;
day = this->calendar->get_info().current_day;
this->calendar->set_day(day-7);