aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Path.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/Path.hxx')
-rw-r--r--src/fs/Path.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index 962518896..3ff7ddba2 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -129,7 +129,7 @@ public:
*/
gcc_pure
bool HasNewline() const {
- return strchr(value, '\n') != nullptr;
+ return PathTraitsFS::Find(value, '\n') != nullptr;
}
/**