mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[libromdata] IsoPartitionPrivate::getDirectory(): Fix an inverted comment.
This commit is contained in:
parent
bf2d3af7c3
commit
c31919826b
@ -2,7 +2,7 @@
|
|||||||
* ROM Properties Page shell extension. (libromdata) *
|
* ROM Properties Page shell extension. (libromdata) *
|
||||||
* IsoPartition.cpp: ISO-9660 partition reader. *
|
* IsoPartition.cpp: ISO-9660 partition reader. *
|
||||||
* *
|
* *
|
||||||
* Copyright (c) 2016-2024 by David Korth. *
|
* Copyright (c) 2016-2025 by David Korth. *
|
||||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
* SPDX-License-Identifier: GPL-2.0-or-later *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@ -535,7 +535,7 @@ const IsoPartitionPrivate::DirData_t *IsoPartitionPrivate::getDirectory(const ch
|
|||||||
// lookup_int() already set q->m_lastError().
|
// lookup_int() already set q->m_lastError().
|
||||||
return nullptr;
|
return nullptr;
|
||||||
} else if (!(entry->flags & ISO_FLAG_DIRECTORY)) {
|
} else if (!(entry->flags & ISO_FLAG_DIRECTORY)) {
|
||||||
// Entry found, but it's a directory.
|
// Entry found, but it's not a directory.
|
||||||
q->m_lastError = ENOTDIR;
|
q->m_lastError = ENOTDIR;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user