From 72bf2266085449d5549dbce98582ec564294ea21 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 5 Oct 2012 16:55:30 +0200 Subject: playlist_save: use temp2 instead of temp Fixes minor Windows compatibility problem. --- src/playlist_save.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/playlist_save.c b/src/playlist_save.c index 122eca33..334159e0 100644 --- a/src/playlist_save.c +++ b/src/playlist_save.c @@ -137,7 +137,8 @@ playlist_load_spl(struct playlist *playlist, struct player_control *pc, *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_free(temp2); -- cgit v1.2.3