From 2f32267898d78ce5a8ef7c2b064fc8f943915d62 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Sun, 18 Aug 2024 01:16:48 +0200 Subject: [PATCH] Fix bogus return statement in PixmapRecorder.close() --- pixmaprecorder.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixmaprecorder.d b/pixmaprecorder.d index 79f8329..011e972 100644 --- a/pixmaprecorder.d +++ b/pixmaprecorder.d @@ -396,7 +396,7 @@ final class PixmapRecorder { +/ int close() { if (!this.isOpen) { - return; + return 0; } _input.writeEnd.flush();