Changeset 2046

Show
Ignore:
Timestamp:
05/12/08 03:20:50 (2 months ago)
Author:
gary
Message:

changes in format of header output - always include patch level, even if 0, to avoid confusing changes in style of version number

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/date.h

    r2019 r2046  
    1616#define MONTH   4 
    1717/* day is correct */ 
    18 #define DAY     5 
     18#define DAY     12 
    1919 
    2020#endif /* _DATE_H_ */ 
  • trunk/source/version.h

    r1896 r2046  
    118118                lgRelease = false; 
    119119 
    120                 /* is this a beta version?  0 for no */ 
     120                /* is this a beta version?  0 for no 
     121                 * if this is non-zero then lgRelease above should be false */ 
    121122                nBetaVer = 0; 
    122123 
    123124                if( lgRelease ) 
    124125                { 
    125                         if( CLD_PATCH > 0 ) 
    126                                 sprintf( chVersion, "%2.2i.%2.2i (patch level %d)", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 
    127                         else 
    128                                 sprintf( chVersion, "%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR ); 
     126                        sprintf( chVersion, "%2.2i.%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 
    129127                } 
    130128                else if( nBetaVer > 0 ) 
    131129                { 
    132                         sprintf( chVersion, "%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, nBetaVer ); 
     130                        sprintf( chVersion, "%2.2i.%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, CLD_PATCH , nBetaVer ); 
    133131                } 
    134132                else