diff options
| author | Amlal <amlal@zka.com> | 2024-07-17 21:53:56 +0200 |
|---|---|---|
| committer | Amlal <amlal@zka.com> | 2024-07-17 21:53:56 +0200 |
| commit | c076b82e78146c00fd536cbf43fa2febdefcbf0d (patch) | |
| tree | c88b326c05e58ca87b846fb6da0f912bb2330abf /Boot/BootKit | |
| parent | 08ee53082f5c4d0f730336a821c154515c76f4de (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.hxx | 5 |
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, |
