Skip to content

Commit afbef9a

Browse files
committed
Changed null-coalescing as compiler does not handle it yet properly.
1 parent 329fdf4 commit afbef9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/AlphaTab/Audio/Generator/MidiFileGenerator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class MidiFileGenerator
4242
public MidiFileGenerator(Score score, Settings settings, IMidiFileHandler handler)
4343
{
4444
_score = score;
45-
_settings = settings ?? Settings.Defaults;
45+
_settings = settings == null ? Settings.Defaults : settings;
4646
_currentTempo = _score.Tempo;
4747
_handler = handler;
4848
TickLookup = new MidiTickLookup();

0 commit comments

Comments
 (0)