diff options
author | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
---|---|---|
committer | Daniel Flanagan <daniel@lytedev.io> | 2019-10-31 11:39:12 -0500 |
commit | dd33444f7eace81115308eadb568020470c48b2b (patch) | |
tree | b13c2a7f17cc64458016d396829e95ef5cea9294 /Panel.c | |
parent | 28840683cfc5d48307b9b0f382f55f8c84d6a0c4 (diff) |
Clean up existing whitespace
Diffstat (limited to 'Panel.c')
-rw-r--r-- | Panel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -372,7 +372,7 @@ void Panel_draw(Panel* this, bool focus) { bool Panel_onKey(Panel* this, int key) { assert (this != NULL); - + int size = Vector_size(this->items); switch (key) { case KEY_DOWN: @@ -455,7 +455,7 @@ bool Panel_onKey(Panel* this, int key) { if (this->selected < 0 || size == 0) { this->selected = 0; this->needsRedraw = true; - } else if (this->selected >= size) { + } else if (this->selected >= size) { this->selected = size - 1; this->needsRedraw = true; } |