summaryrefslogtreecommitdiff
path: root/src/image.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-28 17:39:03 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-28 17:39:03 -0500
commit876c829512301e3f20161f05d7c193540e6d1710 (patch)
tree17cb3f1956d88ce87e1bcd980ea67f0592b0bed4 /src/image.cpp
parentdac2e7507d0172e2a87ed5b2df9c320bc9717da6 (diff)
Working through file picker.
Diffstat (limited to 'src/image.cpp')
-rw-r--r--src/image.cpp4
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);
}