- Timestamp:
- 05/07/09 09:40:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ddd/Functions.cpp
r34 r38 38 38 default: break; 39 39 } 40 if (RD->RHeader->MagicNum != MAGICNUM_FILE_CLOSED)40 if (RD->RHeader->MagicNum == MAGICNUM_OPEN) { 41 41 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 43 47 rewind(Tmpfile); 44 48 QTextStream in(Tmpfile);
Note:
See TracChangeset
for help on using the changeset viewer.