Changeset 2052

Show
Ignore:
Timestamp:
05/13/08 13:20:49 (4 months ago)
Author:
peter
Message:

source/version.h:

Largely revert r2046 which changed the version numbering scheme.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/version.h

    r2046 r2052  
    99 
    1010static const int CLD_MAJOR = 8; 
    11 static const int CLD_MINOR = 1; 
     11static const int CLD_MINOR = 0; 
    1212static const int CLD_PATCH = 0; 
    1313 
     
    124124                if( lgRelease ) 
    125125                { 
    126                         sprintf( chVersion, "%2.2i.%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 
     126                        if( CLD_PATCH > 0 ) 
     127                                sprintf( chVersion, "%2.2i.%2.2i (patch level %d)", CLD_MAJOR, CLD_MINOR, CLD_PATCH ); 
     128                        else 
     129                                sprintf( chVersion, "%2.2i.%2.2i", CLD_MAJOR, CLD_MINOR ); 
    127130                } 
    128131                else if( nBetaVer > 0 ) 
    129132                { 
    130                         sprintf( chVersion, "%2.2i.%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, CLD_PATCH , nBetaVer ); 
     133                        sprintf( chVersion, "%2.2i.%2.2i beta %ld (prerelease)", CLD_MAJOR, CLD_MINOR, nBetaVer ); 
    131134                } 
    132135                else