From fb1c4ffaafae4843c7edb302351b7df48e02a990 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Wed, 16 Apr 2014 13:43:36 -0500 Subject: Whitespace and minor code cleanup This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e --- gui/listbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/listbox.cpp') diff --git a/gui/listbox.cpp b/gui/listbox.cpp index bbfc9344a..e09ec5391 100644 --- a/gui/listbox.cpp +++ b/gui/listbox.cpp @@ -324,7 +324,7 @@ GUIListBox::GUIListBox(xml_node<>* node) : GUIObject(node) // Get the data for the list child = node->first_node("listitem"); if (!child) return; - + while (child) { ListData data; @@ -677,7 +677,7 @@ int GUIListBox::NotifyTouch(TOUCH_STATE state, int x, int y) isHighlighted = false; last2Y = lastY; - lastY = y; + lastY = y; startSelection = -1; // Handle scrolling -- cgit v1.2.3