Skip to content

Commit

Permalink
Update src/view_page.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin authored Nov 26, 2024
1 parent 5d06ae6 commit 7f5ccbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view_page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ void View::DrawStaffLines(DeviceContext *dc, Staff *staff, StaffDef *staffDef, M

// If German lute tablature the default is @lines.visible="false", but setting @lines.visible="true"
// will draw the staff lines.
bool gltLines = (staff->IsTabLuteGerman() && staffDef->GetLinesVisible() == BOOLEAN_true);
bool gltLines = (staff->IsTabLuteGerman() && staffDef->GetLinesVisible() != BOOLEAN_true);
// For anything other than German lute tablature the default is @lines.visible="true"
bool visibleLines = (staffDef->GetLinesVisible() != BOOLEAN_false);

Expand Down

0 comments on commit 7f5ccbf

Please sign in to comment.