From: Maksym Veremeyenko Date: Thu, 23 Jun 2011 12:09:01 +0000 (+0300) Subject: fix re-block border items X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=d6a032de142bf8d0a29b249fcf78c186465e313b;p=melted_gui fix re-block border items --- diff --git a/src/omnplay.cpp b/src/omnplay.cpp index 28e2cdc..34b8d6d 100644 --- a/src/omnplay.cpp +++ b/src/omnplay.cpp @@ -402,7 +402,7 @@ static void omnplay_playlist_block(omnplay_instance_t* app, control_buttons_t bu }; /* update border items */ - if(!start && !(app->playlist.item[start - 1].type & OMNPLAY_PLAYLIST_BLOCK_END)) + if(start && !(app->playlist.item[start - 1].type & OMNPLAY_PLAYLIST_BLOCK_END)) { app->playlist.item[start - 1].type = (playlist_item_type_t)(OMNPLAY_PLAYLIST_BLOCK_END | app->playlist.item[start - 1].type);