diff options
Diffstat (limited to 'src/fs/NarrowPath.cxx')
-rw-r--r-- | src/fs/NarrowPath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/NarrowPath.cxx b/src/fs/NarrowPath.cxx index fec228f9d..e9655d7f8 100644 --- a/src/fs/NarrowPath.cxx +++ b/src/fs/NarrowPath.cxx @@ -29,7 +29,7 @@ NarrowPath::NarrowPath(Path _path) noexcept :value(WideCharToMultiByte(CP_ACP, _path.c_str())) { - if (value.IsNull()) + if (value == nullptr) /* fall back to empty string */ value = Value::Empty(); } |