/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Diff of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3955 by schoenebeck, Sat Jun 19 10:38:45 2021 UTC revision 3956 by schoenebeck, Sat Jun 19 10:41:02 2021 UTC
# Line 5676  namespace { Line 5676  namespace {
5676       * @param index - index of the script slot on this instrument       * @param index - index of the script slot on this instrument
5677       * @see Script::Bypass       * @see Script::Bypass
5678       */       */
5679      bool Instrument::IsScriptSlotBypassed(uint index) {      bool Instrument::IsScriptSlotBypassed(size_t index) {
5680          if (index >= ScriptSlotCount()) return false;          if (index >= ScriptSlotCount()) return false;
5681          return pScriptRefs ? pScriptRefs->at(index).bypass          return pScriptRefs ? pScriptRefs->at(index).bypass
5682                             : scriptPoolFileOffsets.at(index).bypass;                             : scriptPoolFileOffsets.at(index).bypass;

Legend:
Removed from v.3955  
changed lines
  Added in v.3956

  ViewVC Help
Powered by ViewVC