musescore/MuseScore — pull request #587 by MarkRS-UK (2013-12-10 21:27:26+00:00)
Title: Update layout.cpp

Fix for issue #23863.

Use the measure's own method that finds out if there is a previous measure to determine whether this is the first measure.