diff options
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,7 @@ main(int argc, char *argv[]) { char *program_dir; const char *games_dir; + const char *fonts_dir; struct db_game **games; int n; int i; @@ -40,9 +41,11 @@ main(int argc, char *argv[]) if (strcmp(program_dir, ABS_BUILDDIR) == 0) { /* Running in place */ games_dir = ABS_BUILDDIR "/games"; + fonts_dir = ABS_BUILDDIR "/fonts"; } else { /* Running from installation */ games_dir = GAMESDIR; + fonts_dir = FONTSDIR; } free(program_dir); |