mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
CDirIterator: Fix another instance of StringView::characters() misuse.
This commit is contained in:
parent
c79b048198
commit
56563cb305
Notes:
sideshowbarker
2024-07-19 13:22:12 +09:00
Author: https://github.com/awesomekling
Commit: 56563cb305
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
CDirIterator::CDirIterator(const StringView& path, Flags flags)
|
||||
: m_flags(flags)
|
||||
{
|
||||
m_dir = opendir(path.characters());
|
||||
m_dir = opendir(String(path).characters());
|
||||
if (m_dir == nullptr) {
|
||||
m_error = errno;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue