diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fontpack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fontpack.c b/src/fontpack.c index 9ebb09b1..96d973f7 100644 --- a/src/fontpack.c +++ b/src/fontpack.c | |||
@@ -558,6 +558,9 @@ void init_Fonts(const char *userDir) { | |||
558 | const iString *dir = collect_String(concatCStr_Path(execDir, locations[i])); | 558 | const iString *dir = collect_String(concatCStr_Path(execDir, locations[i])); |
559 | iForEach(DirFileInfo, entry, iClob(new_DirFileInfo(dir))) { | 559 | iForEach(DirFileInfo, entry, iClob(new_DirFileInfo(dir))) { |
560 | const iString *entryPath = path_FileInfo(entry.value); | 560 | const iString *entryPath = path_FileInfo(entry.value); |
561 | if (equalCase_Rangecc(baseName_Path(entryPath), "default.fontpack")) { | ||
562 | continue; /* The default pack only comes from resources.lgr. */ | ||
563 | } | ||
561 | if (endsWithCase_String(entryPath, ".fontpack")) { | 564 | if (endsWithCase_String(entryPath, ".fontpack")) { |
562 | iArchive *arch = new_Archive(); | 565 | iArchive *arch = new_Archive(); |
563 | if (openFile_Archive(arch, entryPath)) { | 566 | if (openFile_Archive(arch, entryPath)) { |