Changeset 2285 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Dec 4, 2002, 1:22:26 PM (23 years ago)
Author:
ansari
Message:

Correction changement prompt console ds PIACmd pour les ligens suites - Reza 4/12/02

File:
1 edited

Legend:

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

    r2275 r2285  
    641641size_t l;
    642642l = s.length();
    643 if (l < 1)  return(0);
     643if (!mulinefg && (l < 1))  return(0);
    644644
    645645// On enregistre les commandes
     
    652652size_t lnb = s.find_last_not_of(' ');
    653653if (s[lnb] == '\\' ) { // Lignes suite ...
    654   mulinefg = true;
    655654  mulinecmd += s.substr(0,lnb);
    656   spromptmul = mImgApp->GetConsole()->GetPrompt();
    657   mImgApp->GetConsole()->SetPrompt("...? ");
     655  if (!mulinefg) {
     656    spromptmul = mImgApp->GetConsole()->GetPrompt();
     657    mImgApp->GetConsole()->SetPrompt("...? ");
     658    mulinefg = true;
     659  }
    658660  return(0);
    659661}
Note: See TracChangeset for help on using the changeset viewer.