From c076b82e78146c00fd536cbf43fa2febdefcbf0d Mon Sep 17 00:00:00 2001 From: Amlal Date: Wed, 17 Jul 2024 21:53:56 +0200 Subject: [FIX] return code inside Qr::draw method. Signed-off-by: Amlal --- Boot/BootKit/Vendor/Qr.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Boot') diff --git a/Boot/BootKit/Vendor/Qr.hxx b/Boot/BootKit/Vendor/Qr.hxx index d1820330..0571aa7c 100644 --- a/Boot/BootKit/Vendor/Qr.hxx +++ b/Boot/BootKit/Vendor/Qr.hxx @@ -370,9 +370,6 @@ namespace qr if (!this->status) return false; // it may be invalid. - BTextWriter writer; - writer.Write(L"Printing QR-code...\r"); - CGInit(); for (int y = 0; y < (this->side_size()); ++y) @@ -388,7 +385,7 @@ namespace qr CGFini(); - return false; + return true; } // Create Qr code with given error correction level. If mask == -1, -- cgit v1.2.3