User Input: Fix small issue with the 'k' shortcut
This commit is contained in:
parent
ad50383d03
commit
ce025500ec
|
@ -149,9 +149,8 @@ bool Engine::input_handle_universal(WINDOW *win, char key) {
|
||||||
|
|
||||||
this->active_cell += 7;
|
this->active_cell += 7;
|
||||||
break;
|
break;
|
||||||
if (this->calendar->get_info().current_day-7 < 1) break;
|
|
||||||
case 'k':
|
case 'k':
|
||||||
|
if (this->calendar->get_info().current_day-7 < 1) break;
|
||||||
day = this->calendar->get_info().current_day;
|
day = this->calendar->get_info().current_day;
|
||||||
this->calendar->set_day(day-7);
|
this->calendar->set_day(day-7);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user