diff --git a/Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp b/Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp index 71c5d2d91c2..a50e04669da 100644 --- a/Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp +++ b/Userland/Libraries/LibGfx/ImageFormats/GIFWriter.cpp @@ -182,7 +182,7 @@ ErrorOr GIFAnimationWriter::add_frame(Bitmap& bitmap, int duration_ms, Int // Let's get rid of the previously written trailer if (!m_is_first_frame) - TRY(m_stream.seek(-1, SeekMode::FromEndPosition)); + TRY(m_stream.seek(-1, SeekMode::FromCurrentPosition)); m_is_first_frame = false;