Changeset 335 in Sophya


Ignore:
Timestamp:
Jul 12, 1999, 1:53:31 PM (26 years ago)
Author:
ercodmgr
Message:

Petit bugs ! Reza 12/7/99

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r333 r335  
    350350  else {  // On met l'ancien objet dans /old
    351351    string on,od;
    352     ParseObjectName((*it).first, od, on);
     352//    ParseObjectName((*it).first, od, on);
    353353    sprintf(buff, "%d", (*it).second.oid);
    354     string nomnew = "/old/" + on + buff;
     354    string nomnew = "/old/" + nobj + buff;
    355355    RenameObj(nom, nomnew);
    356356    }
  • trunk/SophyaPI/PIext/piacmd.cc

    r333 r335  
    337337  if (tokens.size() < 2) { cout << "PIACmd::Interpret() Usage: set varname string" << endl;  return(0); }
    338338  string xx = "";
    339   for (int kk=0; kk<tokens.size(); kk++)  xx += (tokens[kk] + ' ');
     339  for (int kk=1; kk<tokens.size(); kk++)  xx += (tokens[kk] + ' ');
    340340  mVars[tokens[0]] = xx;
    341341  }
Note: See TracChangeset for help on using the changeset viewer.