mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:37:35 +00:00
LibGfx: Add search path to debug output in FontDatabase
This helps with debugging why fonts cannot be found.
This commit is contained in:
parent
4fc4bd6c3f
commit
4448a51824
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void FontDatabase::load_all_fonts_from_path(DeprecatedString const& root)
|
||||||
auto current_directory = path_queue.dequeue();
|
auto current_directory = path_queue.dequeue();
|
||||||
Core::DirIterator dir_iterator(current_directory, Core::DirIterator::SkipParentAndBaseDir);
|
Core::DirIterator dir_iterator(current_directory, Core::DirIterator::SkipParentAndBaseDir);
|
||||||
if (dir_iterator.has_error()) {
|
if (dir_iterator.has_error()) {
|
||||||
dbgln("FontDatabase::load_all_fonts_from_path: {}", dir_iterator.error());
|
dbgln("FontDatabase::load_all_fonts_from_path('{}'): {}", root, dir_iterator.error());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
while (dir_iterator.has_next()) {
|
while (dir_iterator.has_next()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue