[DEV] update new etk::FSNode
This commit is contained in:
parent
baa430d1f3
commit
f60b5f34ed
@ -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;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user