mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +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
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/gmta
Commit: 4448a51824
Pull-request: https://github.com/SerenityOS/serenity/pull/18977
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();
|
||||
Core::DirIterator dir_iterator(current_directory, Core::DirIterator::SkipParentAndBaseDir);
|
||||
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;
|
||||
}
|
||||
while (dir_iterator.has_next()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue