Changeset 13906 for trunk/FACT++


Ignore:
Timestamp:
05/26/12 12:24:53 (12 years ago)
Author:
tbretz
Message:
Updated handling of dim version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DimState.h

    r13904 r13906  
    129129        DimState::Handler(evt);
    130130
    131         info.second = evt.GetSize()==4 ? evt.GetInt() : 0;
     131        info.second = evt.GetSize()==4 ? evt.GetInt() : -256;
     132        if (info.second==0)
     133            info.second=-256;
    132134    }
    133135
    134136    string version() const
    135137    {
    136         if (info.second==0)
     138        if (!online())
    137139            return "Offline";
    138140
Note: See TracChangeset for help on using the changeset viewer.