mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: Fix comment indentation
This commit is contained in:
parent
27384486e4
commit
f8633fc63b
|
@ -181,8 +181,8 @@ void CALLBACK TimerCallback(UINT uTimerID, UINT, DWORD_PTR dwUser, DWORD_PTR, DW
|
||||||
/* skip beginning of file? */
|
/* skip beginning of file? */
|
||||||
if (_midi.current_segment.start > 0 && _midi.current_block == 0 && _midi.current_segment.start_block == 0) {
|
if (_midi.current_segment.start > 0 && _midi.current_block == 0 && _midi.current_segment.start_block == 0) {
|
||||||
/* find first block after start time and pretend playback started earlier
|
/* find first block after start time and pretend playback started earlier
|
||||||
* this is to allow all blocks prior to the actual start to still affect playback,
|
* this is to allow all blocks prior to the actual start to still affect playback,
|
||||||
* as they may contain important controller and program changes */
|
* as they may contain important controller and program changes */
|
||||||
size_t preload_bytes = 0;
|
size_t preload_bytes = 0;
|
||||||
for (size_t bl = 0; bl < _midi.current_file.blocks.size(); bl++) {
|
for (size_t bl = 0; bl < _midi.current_file.blocks.size(); bl++) {
|
||||||
MidiFile::DataBlock &block = _midi.current_file.blocks[bl];
|
MidiFile::DataBlock &block = _midi.current_file.blocks[bl];
|
||||||
|
|
Loading…
Reference in New Issue