playlist_save: use temp2 instead of temp
Fixes minor Windows compatibility problem.
This commit is contained in:
parent
d4b5699403
commit
72bf226608
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue