/[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 3959 by schoenebeck, Sat Jun 19 10:55:04 2021 UTC revision 3960 by schoenebeck, Sat Jun 19 10:58:51 2021 UTC
# Line 5808  namespace { Line 5808  namespace {
5808       * @param slot - script slot index of the variable to be retrieved       * @param slot - script slot index of the variable to be retrieved
5809       * @param variable - name of the 'patch' variable in that script       * @param variable - name of the 'patch' variable in that script
5810       */       */
5811      String Instrument::GetScriptPatchVariable(int slot, String variable) {      String Instrument::GetScriptPatchVariable(size_t slot, String variable) {
5812          std::map<String,String> vars = GetScriptPatchVariables(slot);          std::map<String,String> vars = GetScriptPatchVariables(slot);
5813          return (vars.count(variable)) ? vars.find(variable)->second : "";          return (vars.count(variable)) ? vars.find(variable)->second : "";
5814      }      }

Legend:
Removed from v.3959  
changed lines
  Added in v.3960

  ViewVC Help
Powered by ViewVC