/[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 3950 by schoenebeck, Sat Jun 19 09:02:55 2021 UTC revision 3951 by schoenebeck, Sat Jun 19 09:07:16 2021 UTC
# Line 4855  namespace { Line 4855  namespace {
4855       * @param index - number of the sought script (0..n)       * @param index - number of the sought script (0..n)
4856       * @returns sought script or NULL if there's no such script       * @returns sought script or NULL if there's no such script
4857       */       */
4858      Script* ScriptGroup::GetScript(uint index) {      Script* ScriptGroup::GetScript(size_t index) {
4859          if (!pScripts) LoadScripts();          if (!pScripts) LoadScripts();
4860          if (index >= pScripts->size()) return NULL;          if (index >= pScripts->size()) return NULL;
4861          return (*pScripts)[index];          return (*pScripts)[index];

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

  ViewVC Help
Powered by ViewVC