Undo changes (back to version 15).

This commit is contained in:
David Capello 2007-11-19 17:24:50 +00:00
parent 35f50b6d73
commit fad42803e4

View File

@ -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;
}