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/fileselector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/fileselector.cpp') diff --git a/gui/fileselector.cpp b/gui/fileselector.cpp index e1570edd0..4f90ca3a8 100644 --- a/gui/fileselector.cpp +++ b/gui/fileselector.cpp @@ -733,7 +733,7 @@ int GUIFileSelector::NotifyTouch(TOUCH_STATE state, int x, int y) isHighlighted = false; last2Y = lastY; - lastY = y; + lastY = y; startSelection = -1; // Handle scrolling @@ -925,7 +925,7 @@ bool GUIFileSelector::fileSort(FileData d1, FileData d2) return -1; if (d2.fileName == TW_FILESELECTOR_UP_A_LEVEL) return 0; - + switch (mSortOrder) { case 3: // by size largest first if (d1.fileSize == d2.fileSize || d1.fileType == DT_DIR) // some directories report a different size than others - but this is not the size of the files inside the directory, so we just sort by name on directories -- cgit v1.2.3