From d6a032de142bf8d0a29b249fcf78c186465e313b Mon Sep 17 00:00:00 2001 From: Maksym Veremeyenko Date: Thu, 23 Jun 2011 15:09:01 +0300 Subject: [PATCH 1/1] fix re-block border items --- src/omnplay.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.4.4