Changeset 11058


Ignore:
Timestamp:
06/18/11 13:43:37 (14 years ago)
Author:
tbretz
Message:
Fixed adding the '.bin' extension to the filename in LOAD and SAVE
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r11056 r11058  
    623623    bool LoadStaticData(string name)
    624624    {
    625         if (name.rfind(".bin")!=name.length()-5)
     625        if (name.rfind(".bin")!=name.length()-4)
    626626            name += ".bin";
    627627
     
    652652    bool SaveStaticData(string name) const
    653653    {
    654         if (name.rfind(".bin")!=name.length()-5)
     654        if (name.rfind(".bin")!=name.length()-4)
    655655            name += ".bin";
    656656
Note: See TracChangeset for help on using the changeset viewer.