From f60b5f34ed912b890299f6a6d0282dd07ddfa4f6 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 8 Apr 2016 21:53:09 +0200 Subject: [PATCH] [DEV] update new etk::FSNode --- egami/wrapperBMP.cpp | 2 +- egami/wrapperEDF.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/egami/wrapperBMP.cpp b/egami/wrapperBMP.cpp index 4fc3fe2..e716dcf 100644 --- a/egami/wrapperBMP.cpp +++ b/egami/wrapperBMP.cpp @@ -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; diff --git a/egami/wrapperEDF.cpp b/egami/wrapperEDF.cpp index 22ba6fc..453b76a 100644 --- a/egami/wrapperEDF.cpp +++ b/egami/wrapperEDF.cpp @@ -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);