From e8b4b2c923c13ff1cd6be6c13298105fd6b7b06d Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Wed, 11 Dec 2019 00:44:45 +0300 Subject: MidiSequencer: apply recent typo fixes and a clean-up --- src/midi_sequencer.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/midi_sequencer.hpp') diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp index 6832492..6febecc 100644 --- a/src/midi_sequencer.hpp +++ b/src/midi_sequencer.hpp @@ -23,8 +23,8 @@ */ #pragma once -#ifndef BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP -#define BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP +#ifndef BW_MIDI_SEQUENCER_HHHHPPP +#define BW_MIDI_SEQUENCER_HHHHPPP #include #include @@ -454,7 +454,7 @@ private: { if(caughtStackEnd && (stackLevel >= 0) && (stackLevel < static_cast(stack.size()))) { - const LoopStackEntry &e = stack[stackLevel]; + const LoopStackEntry &e = stack[static_cast(stackLevel)]; if(e.infinity || (!e.infinity && e.loops > 0)) return true; } @@ -474,7 +474,7 @@ private: LoopStackEntry &getCurStack() { if((stackLevel >= 0) && (stackLevel < static_cast(stack.size()))) - return stack[stackLevel]; + return stack[static_cast(stackLevel)]; if(stack.empty()) { LoopStackEntry d; @@ -792,4 +792,4 @@ private: }; -#endif /* BISQUIT_AND_WOHLSTANDS_MIDI_SEQUENCER_HHHHPPP */ +#endif /* BW_MIDI_SEQUENCER_HHHHPPP */ -- cgit v1.2.3 From 1ef47f7db773a76a5652094b5ac8a9ec6408d064 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Fri, 17 Jan 2020 15:52:29 +0300 Subject: Update copyright year --- src/midi_sequencer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/midi_sequencer.hpp') diff --git a/src/midi_sequencer.hpp b/src/midi_sequencer.hpp index 6febecc..7ff864c 100644 --- a/src/midi_sequencer.hpp +++ b/src/midi_sequencer.hpp @@ -1,7 +1,7 @@ /* * BW_Midi_Sequencer - MIDI Sequencer for C++ * - * Copyright (c) 2015-2019 Vitaly Novichkov + * Copyright (c) 2015-2020 Vitaly Novichkov * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the "Software"), -- cgit v1.2.3