File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,12 +272,12 @@ void Lyrics::layout()
272272 }
273273
274274 bool styleDidChange = false ;
275- if ((_no & 1 ) && !_even) {
275+ if (isEven ( ) && !_even) {
276276 initTid (Tid::LYRICS_EVEN, /* preserveDifferent */ true );
277277 _even = true ;
278278 styleDidChange = true ;
279279 }
280- if (!(_no & 1 ) && _even) {
280+ if (!isEven ( ) && _even) {
281281 initTid (Tid::LYRICS_ODD, /* preserveDifferent */ true );
282282 _even = false ;
283283 styleDidChange = true ;
@@ -600,7 +600,7 @@ QVariant Lyrics::propertyDefault(Pid id) const
600600 {
601601 switch (id) {
602602 case Pid::SUB_STYLE:
603- return int ((_no & 1 ) ? Tid::LYRICS_EVEN : Tid::LYRICS_ODD);
603+ return int (isEven ( ) ? Tid::LYRICS_EVEN : Tid::LYRICS_ODD);
604604 case Pid::PLACEMENT:
605605 return score ()->styleV (Sid::lyricsPlacement);
606606 case Pid::SYLLABIC:
You can’t perform that action at this time.
0 commit comments