Changeset 38 for tools/ddd


Ignore:
Timestamp:
05/07/09 09:40:30 (16 years ago)
Author:
ogrimm
Message:
Adapted magic number to change in RawDataCTX.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ddd/Functions.cpp

    r34 r38  
    3838    default: break;
    3939  }
    40   if (RD->RHeader->MagicNum != MAGICNUM_FILE_CLOSED)
     40  if (RD->RHeader->MagicNum == MAGICNUM_OPEN) {
    4141    QMessageBox::warning(this, "ddd Message","Magic number in run header indicates that the file has not been closed properly.",QMessageBox::Ok);
    42 
     42  }
     43  if (RD->RHeader->MagicNum == MAGICNUM_ERROR) {
     44    QMessageBox::warning(this, "ddd Message","Magic number in run header indicates that an error occurred while writing the file.",QMessageBox::Ok);
     45  }
     46 
    4347  rewind(Tmpfile);
    4448  QTextStream in(Tmpfile);
Note: See TracChangeset for help on using the changeset viewer.