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();