Changeset 3665 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Oct 24, 2009, 4:36:06 PM (16 years ago)
Author:
ansari
Message:

Ajout {} () dans le code pour levee d'ambiguite, Reza 24/10/2009

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pieldrw.cc

    r3558 r3665  
    575575      SetAxesFlags(GetAxesFlags() & ~kMinTicks);
    576576    else if (opts == "extticks")
    577       SetAxesFlags(GetAxesFlags() & ~kIntTicks |  kExtTicks);
     577      SetAxesFlags((GetAxesFlags() & ~kIntTicks) |  kExtTicks);
    578578    else if (opts == "intticks")
    579       SetAxesFlags(GetAxesFlags() & ~kExtTicks |  kIntTicks);
     579      SetAxesFlags((GetAxesFlags() & ~kExtTicks) |  kIntTicks);
    580580    else if (opts == "extintticks")
    581581      SetAxesFlags(GetAxesFlags() | kIntTicks |  kExtTicks);
  • trunk/SophyaPI/PI/psfile.cc

    r3519 r3665  
    682682        }
    683683        /* Portrait ou Landscape ? */
    684         if(orientation == PI_Auto)
     684        if(orientation == PI_Auto)  {
    685685            if( ((tw < th) && (Dx < 1.2*Dy)) ||
    686686                ((tw > th) && (Dx > Dy) ))
     
    688688            else
    689689                currentPage->orientation = PI_Landscape ;
    690 
     690        }
    691691        if(currentPage->orientation == PI_Portrait) {
    692692          //        if( (tw/Dx) < (th/Dy) )
Note: See TracChangeset for help on using the changeset viewer.