summaryrefslogtreecommitdiffhomepage
path: root/Boot/BootKit
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-07-17 21:53:56 +0200
committerAmlal <amlal@zka.com>2024-07-17 21:53:56 +0200
commitc076b82e78146c00fd536cbf43fa2febdefcbf0d (patch)
treec88b326c05e58ca87b846fb6da0f912bb2330abf /Boot/BootKit
parent08ee53082f5c4d0f730336a821c154515c76f4de (diff)
[FIX] return code inside Qr<V>::draw method.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Boot/BootKit')
-rw-r--r--Boot/BootKit/Vendor/Qr.hxx5
1 files changed, 1 insertions, 4 deletions
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,