aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-16 19:17:54 +0200
committerMax Kellermann <max@duempel.org>2015-10-16 19:17:54 +0200
commit85f58eb0821dc30207afd21cb8dc087c2a450e28 (patch)
tree3cc90656a46b906d34eac91b5d8020a06ce8d58e
parent54383b017e7789a8c5450112eca0d98f3f5b5dce (diff)
downloadmpd-85f58eb0821dc30207afd21cb8dc087c2a450e28.tar.gz
mpd-85f58eb0821dc30207afd21cb8dc087c2a450e28.tar.xz
mpd-85f58eb0821dc30207afd21cb8dc087c2a450e28.zip
util/WStringUtil: fix indent
Diffstat (limited to '')
-rw-r--r--src/util/WStringUtil.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/WStringUtil.cxx b/src/util/WStringUtil.cxx
index 65e6c328e..b70a7749e 100644
--- a/src/util/WStringUtil.cxx
+++ b/src/util/WStringUtil.cxx
@@ -29,17 +29,17 @@
bool
StringStartsWith(const wchar_t *haystack, const wchar_t *needle)
{
- return memcmp(haystack, needle, StringLength(needle) * sizeof(needle[0])) == 0;
+ return memcmp(haystack, needle, StringLength(needle) * sizeof(needle[0])) == 0;
}
bool
StringEndsWith(const wchar_t *haystack, const wchar_t *needle)
{
- const size_t haystack_length = StringLength(haystack);
- const size_t needle_length = StringLength(needle);
+ const size_t haystack_length = StringLength(haystack);
+ const size_t needle_length = StringLength(needle);
- return haystack_length >= needle_length &&
- StringIsEqual(haystack + haystack_length - needle_length, needle);
+ return haystack_length >= needle_length &&
+ StringIsEqual(haystack + haystack_length - needle_length, needle);
}
const wchar_t *