Skip to content

Commit

Permalink
Fix regression in 96942d2 on widths already multiple of 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 21, 2014
1 parent 7477e76 commit 46e23fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mltcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static const char* kShotcutVirtualClip = "shotcut:virtual";

static int alignWidth(int width)
{
return width + 8 - width % 8;
return (width + 7) / 8 * 8;
}

QFrame::QFrame(QObject *parent)
Expand Down

0 comments on commit 46e23fa

Please sign in to comment.