Fix output of filename when outputting docs with the -in-source-order option.

This commit is contained in:
Montgomery
2026-04-08 12:49:51 +01:00
parent 68942ce53d
commit 56a1a81a38

View File

@@ -289,7 +289,7 @@ gb_internal void print_doc_package(CheckerInfo *info, AstPackage *pkg) {
}
curr_file = e->file;
String filename = remove_directory_from_path(curr_file->fullpath);
print_doc_line(1, "file: %s", filename);
print_doc_line(1, "file: %.*s", LIT(filename));
}
} else {
if (curr_entity_kind != e->kind) {