From 6d00bba62d6271c7cbd19234545314e81e07f3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Tue, 11 Aug 2026 16:28:08 -0300 Subject: [PATCH] Nit in WebP image save. --- src/eepp/graphics/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eepp/graphics/image.cpp b/src/eepp/graphics/image.cpp index 6151942b7..3823ac3e3 100644 --- a/src/eepp/graphics/image.cpp +++ b/src/eepp/graphics/image.cpp @@ -1174,7 +1174,7 @@ bool Image::saveToFile( const std::string& filepath, const SaveType& Format ) { mFormatConfiguration.webpSaveLossless(), mFormatConfiguration.webpCompressionMethod() ); if ( !data.empty() ) - FileSystem::fileWrite( filepath, data ); + Res = FileSystem::fileWrite( filepath, data ); } else if ( SaveType::JPG != Format ) { Res = 0 != ( SOIL_save_image( filepath.c_str(), (int)Format, (Int32)mWidth, (Int32)mHeight, mChannels, getPixelsPtr() ) );