aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 316bac68..80c9771a 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -50,7 +50,7 @@ int wcsfilecmp(const wchar_t *a, const wchar_t *b) {
b = bend - 1;
} else {
int diff = towlower(*a) - towlower(*b);
- if (diff != 0) return (diff > 0) ? 2 : -2;
+ if (diff != 0) return diff > 0 ? 2 : -2;
secondary_diff = *a - *b;
}