From 876c829512301e3f20161f05d7c193540e6d1710 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sat, 28 Sep 2024 17:39:03 -0500 Subject: Working through file picker. --- src/image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/image.cpp') 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); } -- cgit v1.2.3