Commit 72bf2266 authored by Max Kellermann's avatar Max Kellermann

playlist_save: use temp2 instead of temp

Fixes minor Windows compatibility problem.
parent d4b56994
...@@ -137,7 +137,8 @@ playlist_load_spl(struct playlist *playlist, struct player_control *pc, ...@@ -137,7 +137,8 @@ playlist_load_spl(struct playlist *playlist, struct player_control *pc,
*p = '/'; *p = '/';
p++; p++;
} }
if ((playlist_append_uri(playlist, pc, temp, NULL)) != PLAYLIST_RESULT_SUCCESS) { if ((playlist_append_uri(playlist, pc, temp2,
NULL)) != PLAYLIST_RESULT_SUCCESS) {
g_warning("can't add file \"%s\"", temp2); g_warning("can't add file \"%s\"", temp2);
} }
g_free(temp2); g_free(temp2);
......
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