Skip to content

Commit

Permalink
setfont: Don't look for fonts in the current directory
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
  • Loading branch information
legionus committed Sep 9, 2023
1 parent 02ad318 commit 015ccea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libkfont/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

/* search for the map file in these directories (with trailing /) */
static const char *const mapdirpath[] = {
"",
DATADIR "/" TRANSDIR "/",
NULL
};
Expand All @@ -27,7 +26,6 @@ static const char *const mapsuffixes[] = {

/* search for the font in these directories (with trailing /) */
static const char *const fontdirpath[] = {
"",
DATADIR "/" FONTDIR "/",
NULL
};
Expand All @@ -41,7 +39,6 @@ static char const *const fontsuffixes[] = {
};

static const char *const unidirpath[] = {
"",
DATADIR "/" UNIMAPDIR "/",
NULL
};
Expand All @@ -54,7 +51,6 @@ static const char *const unisuffixes[] = {

/* hide partial fonts a bit - loading a single one is a bad idea */
const char *const partfontdirpath[] = {
"",
DATADIR "/" FONTDIR "/" PARTIALDIR "/",
NULL
};
Expand Down

0 comments on commit 015ccea

Please sign in to comment.