From e8b381680acc3e08241e0ad2a5a75f8b49fda756 Mon Sep 17 00:00:00 2001 From: Dwedit Date: Mon, 28 May 2018 12:04:11 -0500 Subject: [PATCH] reformat spaces --- runahead/dirty_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runahead/dirty_input.c b/runahead/dirty_input.c index 35ea57660d..e772a97cee 100644 --- a/runahead/dirty_input.c +++ b/runahead/dirty_input.c @@ -59,9 +59,9 @@ static void input_state_set_last(unsigned port, unsigned device, for (i = 0; i < (unsigned)input_state_list->size; i++) { element = (InputListElement*)input_state_list->data[i]; - if ( (element->port == port ) && + if ( (element->port == port) && (element->device == device) && - (element->index == index) && + (element->index == index) && (id >= 0 && id < (sizeof(element->state) / sizeof(int16_t))) ) {