Whitespace and minor code cleanup
This is by no means comprehensive, but is quite a bit better already.
Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
diff --git a/gui/fileselector.cpp b/gui/fileselector.cpp
index e1570ed..4f90ca3 100644
--- a/gui/fileselector.cpp
+++ b/gui/fileselector.cpp
@@ -733,7 +733,7 @@
isHighlighted = false;
last2Y = lastY;
- lastY = y;
+ lastY = y;
startSelection = -1;
// Handle scrolling
@@ -925,7 +925,7 @@
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