From bdb360b05add5a809080078bd43978b6543a7068 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 20 Dec 2009 21:35:36 +0100 Subject: one more fix to pl_format_item_queue --- playlist.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index f8b99c0e..0b9839da 100644 --- a/playlist.c +++ b/playlist.c @@ -1593,6 +1593,10 @@ pl_format_item_queue (playItem_t *it, char *s, int size) { s += len; size -= len; } + else { + *s = 0; + return 0; + } return initsize-size; } -- cgit v1.2.3