[DEV] update new etk::FSNode

This commit is contained in:
Edouard DUPIN 2016-04-08 21:53:09 +02:00
parent baa430d1f3
commit f60b5f34ed
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ bool egami::loadBMP(const std::string& _inputFile, egami::Image& _ouputImage) {
fileName.fileClose();
return false;
}
if(fileName.fileSeek(m_FileHeader.bfOffBits, etk::FSN_SEEK_START) == false) {
if(fileName.fileSeek(m_FileHeader.bfOffBits, etk::seekNode_start) == false) {
EGAMI_ERROR("error with the 'bfOffBits' in the file named=\"" << fileName << "\"");
fileName.fileClose();
return false;

View File

@ -49,7 +49,7 @@ bool egami::loadEDF(const std::string& _inputFile, egami::Image& _ouputImage) {
}
EGAMI_DEBUG("'" << file << "' ==> size=" << size);
// jup to the start of the file
file.fileSeek(0, etk::FSN_SEEK_START);
file.fileSeek(0, etk::seekNode_start);
// drop the first line
file.fileGets(line);