diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 17:39:03 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 17:39:03 -0500 |
commit | 876c829512301e3f20161f05d7c193540e6d1710 (patch) | |
tree | 17cb3f1956d88ce87e1bcd980ea67f0592b0bed4 /src/image.cpp | |
parent | dac2e7507d0172e2a87ed5b2df9c320bc9717da6 (diff) |
Working through file picker.
Diffstat (limited to 'src/image.cpp')
-rw-r--r-- | src/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.cpp b/src/image.cpp index 786c4ba..d73e86e 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -25,8 +25,8 @@ ImageResult JpegImage::output() const ImageOutput image{}; fud::CBinaryFile inFile{m_filename, fud::CFileMode::ReadOnly}; auto fileResult = inFile.open(); - using fud::FileStatus; - if (fileResult == FileStatus::Error) { + using fud::FudStatus; + if (fileResult == FudStatus::Failure) { spdlog::error("can't open {}\n", m_filename.c_str()); return err(ImageError::FileError); } |