summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 648bac8..2180655 100644
--- a/src/main.c
+++ b/src/main.c
@@ -21,6 +21,7 @@
#include <SDL_ttf.h>
#include <stdlib.h>
#include "defs.h"
+#include "dirs.h"
static SDL_Window *_mf_window;
static SDL_Renderer *_mf_renderer;
@@ -86,6 +87,9 @@ int
main(int argc __attribute__((__unused__)),
char *argv[] __attribute__((__unused__)))
{
+ /* Find data directories */
+ mf_find_dirs(argv[0]);
+
/* Initialize SDL libraries */
if (_mf_init() < 0) {
return EXIT_FAILURE;