Commit 178c6c20 authored by Denis Krjuchkov's avatar Denis Krjuchkov

PlaylistSave.cxx: use FOpen

parent 92d71cc7
......@@ -78,7 +78,7 @@ spl_save_queue(const char *name_utf8, const struct queue *queue)
if (FileExists(path_fs))
return PLAYLIST_RESULT_LIST_EXISTS;
FILE *file = fopen(path_fs.c_str(), "w");
FILE *file = FOpen(path_fs, FOpenMode::WriteText);
if (file == NULL)
return PLAYLIST_RESULT_ERRNO;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment