/[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 3951 by schoenebeck, Sat Jun 19 09:07:16 2021 UTC revision 3952 by schoenebeck, Sat Jun 19 09:10:33 2021 UTC
# Line 5539  namespace { Line 5539  namespace {
5539       * @param index - instrument script slot index       * @param index - instrument script slot index
5540       * @returns script or NULL if index is out of bounds       * @returns script or NULL if index is out of bounds
5541       */       */
5542      Script* Instrument::GetScriptOfSlot(uint index) {      Script* Instrument::GetScriptOfSlot(size_t index) {
5543          LoadScripts();          LoadScripts();
5544          if (index >= pScriptRefs->size()) return NULL;          if (index >= pScriptRefs->size()) return NULL;
5545          return pScriptRefs->at(index).script;          return pScriptRefs->at(index).script;

Legend:
Removed from v.3951  
changed lines
  Added in v.3952

  ViewVC Help
Powered by ViewVC