Changeset 17298


Ignore:
Timestamp:
10/21/13 17:20:38 (11 years ago)
Author:
lyard
Message:
Fixed wrong header bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/ofits.h

    r17274 r17298  
    989989        const struct tm *tmp1 = gmtime(&t0);
    990990
    991         std::string str(21, '\0');
     991        std::string str(19, '\0');
    992992        if (tmp1 && strftime(const_cast<char*>(str.data()), 20, "%Y-%m-%dT%H:%M:%S", tmp1))
    993993            SetStr("DATE", str, "File creation date");
Note: See TracChangeset for help on using the changeset viewer.