/[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 3952 by schoenebeck, Sat Jun 19 09:10:33 2021 UTC revision 3953 by schoenebeck, Sat Jun 19 10:32:30 2021 UTC
# Line 5600  namespace { Line 5600  namespace {
5600       * @param index1 - index of the first script slot to swap       * @param index1 - index of the first script slot to swap
5601       * @param index2 - index of the second script slot to swap       * @param index2 - index of the second script slot to swap
5602       */       */
5603      void Instrument::SwapScriptSlots(uint index1, uint index2) {      void Instrument::SwapScriptSlots(size_t index1, size_t index2) {
5604          LoadScripts();          LoadScripts();
5605          if (index1 >= pScriptRefs->size() || index2 >= pScriptRefs->size())          if (index1 >= pScriptRefs->size() || index2 >= pScriptRefs->size())
5606              return;              return;

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

  ViewVC Help
Powered by ViewVC