mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-19 06:40:42 +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);
|
dirs_add_path(dirs, buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#elif defined ALLEGRO_WINDOWS || defined ALLEGRO_DOS
|
||||||
|
|
||||||
/* $BINDIR/data/filename */
|
/* $BINDIR/data/filename */
|
||||||
sprintf(buf, "data/%s", filename);
|
sprintf(buf, "data/%s", filename);
|
||||||
dirs_cat_dirs(dirs, filename_in_bindir(buf));
|
dirs_cat_dirs(dirs, filename_in_bindir(buf));
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
/* filename */
|
/* filename */
|
||||||
dirs_add_path(dirs, filename);
|
dirs_add_path(dirs, filename);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
return dirs;
|
return dirs;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -173,14 +177,18 @@ DIRS *filename_in_homedir(const char *filename)
|
|||||||
dirs_add_path(dirs, filename);
|
dirs_add_path(dirs, filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#elif defined ALLEGRO_WINDOWS || defined ALLEGRO_DOS
|
||||||
|
|
||||||
/* $PREFIX/data/filename */
|
/* $PREFIX/data/filename */
|
||||||
dirs_cat_dirs(dirs, filename_in_datadir(filename));
|
dirs_cat_dirs(dirs, filename_in_datadir(filename));
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
/* filename */
|
/* filename */
|
||||||
dirs_add_path(dirs, filename);
|
dirs_add_path(dirs, filename);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
return dirs;
|
return dirs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user