mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-15 21:40:34 +00:00
Undo changes (back to version 15).
This commit is contained in:
parent
35f50b6d73
commit
fad42803e4
@ -142,15 +142,19 @@ DIRS *filename_in_datadir(const char *filename)
|
||||
dirs_add_path(dirs, buf);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#elif defined ALLEGRO_WINDOWS || defined ALLEGRO_DOS
|
||||
|
||||
/* $BINDIR/data/filename */
|
||||
sprintf(buf, "data/%s", filename);
|
||||
dirs_cat_dirs(dirs, filename_in_bindir(buf));
|
||||
|
||||
#else
|
||||
|
||||
/* filename */
|
||||
dirs_add_path(dirs, filename);
|
||||
|
||||
#endif
|
||||
|
||||
return dirs;
|
||||
}
|
||||
|
||||
@ -173,14 +177,18 @@ DIRS *filename_in_homedir(const char *filename)
|
||||
dirs_add_path(dirs, filename);
|
||||
}
|
||||
|
||||
#endif
|
||||
#elif defined ALLEGRO_WINDOWS || defined ALLEGRO_DOS
|
||||
|
||||
/* $PREFIX/data/filename */
|
||||
dirs_cat_dirs(dirs, filename_in_datadir(filename));
|
||||
|
||||
#else
|
||||
|
||||
/* filename */
|
||||
dirs_add_path(dirs, filename);
|
||||
|
||||
#endif
|
||||
|
||||
return dirs;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user