Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist

This commit is contained in:
twinaphex 2017-12-10 21:28:13 +01:00
parent e07ed18105
commit 95cc8e12d2
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ static config_file_t *config_file_new_internal(
goto error;
conf->include_depth = depth;
file = filestream_open(path, RFILE_MODE_READ_TEXT, 0x4000);
file = filestream_open(path, RFILE_MODE_READ, 0x4000);
if (!file)
{

View File

@ -493,7 +493,7 @@ static bool playlist_read_file(
unsigned i;
char buf[PLAYLIST_ENTRIES][1024];
RFILE *file = filestream_open(
path, RFILE_MODE_READ_TEXT, -1);
path, RFILE_MODE_READ, -1);
for (i = 0; i < PLAYLIST_ENTRIES; i++)
buf[i][0] = '\0';