summaryrefslogtreecommitdiff
path: root/Userland/Demos/Mandelbrot/Mandelbrot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/Mandelbrot/Mandelbrot.cpp')
-rw-r--r--Userland/Demos/Mandelbrot/Mandelbrot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Mandelbrot/Mandelbrot.cpp b/Userland/Demos/Mandelbrot/Mandelbrot.cpp
index cf65d28df6..c975bbaf9c 100644
--- a/Userland/Demos/Mandelbrot/Mandelbrot.cpp
+++ b/Userland/Demos/Mandelbrot/Mandelbrot.cpp
@@ -380,7 +380,7 @@ ErrorOr<void> Mandelbrot::export_image(DeprecatedString const& export_path, Imag
encoded_data = TRY(Gfx::PNGWriter::encode(m_set.bitmap()));
break;
case ImageType::QOI:
- encoded_data = Gfx::QOIWriter::encode(m_set.bitmap());
+ encoded_data = TRY(Gfx::QOIWriter::encode(m_set.bitmap()));
break;
default:
VERIFY_NOT_REACHED();