From 387dcba801f56786d033d510d0687a84a615df4b Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sun, 24 Apr 2022 22:17:08 -0500 Subject: [PATCH] Derp fix part 2... --- source/qr/qrcode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/qr/qrcode.cpp b/source/qr/qrcode.cpp index e663298..4b84ecd 100644 --- a/source/qr/qrcode.cpp +++ b/source/qr/qrcode.cpp @@ -405,7 +405,7 @@ void QRCode::handler(std::string &result) { } if (this->selectedStore < this->sPos) this->sPos = this->selectedStore; - else if (this->selectedStore >= this->sPos + 6 - 1) this->sPos = this->selectedStore - 6 + 1; + else if (this->selectedStore > this->sPos + 6 - 1) this->sPos = this->selectedStore - 6 + 1; } /*