mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Fix missing enum case: Avoid a divide-by-0 crash.
This commit is contained in:
parent
dab2513d9f
commit
aad354e15f
1 changed files with 2 additions and 0 deletions
|
|
@ -4171,6 +4171,8 @@ Editor::get_grid_beat_divisions(samplepos_t position)
|
|||
case GridTypeBeatDiv4: return 4;
|
||||
case GridTypeBeatDiv3: return 3;
|
||||
case GridTypeBeatDiv2: return 2;
|
||||
case GridTypeBeat: return 1;
|
||||
case GridTypeBar: return 1;
|
||||
|
||||
case GridTypeNone: return 0;
|
||||
case GridTypeTimecode: return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue