From 899d4382b10bdee4cddc8dd4f0cad2a9822f8343 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Tue, 6 May 2025 21:13:54 +0300 Subject: [PATCH] change the order of INCMP statements and use 88 for next and 98 for previous --- services/registration/select_voucher.vis | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/registration/select_voucher.vis b/services/registration/select_voucher.vis index 058d791..0edb553 100644 --- a/services/registration/select_voucher.vis +++ b/services/registration/select_voucher.vis @@ -3,14 +3,14 @@ LOAD get_vouchers 0 MAP get_vouchers MOUT back 0 MOUT quit 99 -MNEXT next 11 -MPREV prev 22 +MNEXT next 88 +MPREV prev 98 HALT +INCMP > 88 +INCMP < 98 +INCMP _ 0 +INCMP quit 99 LOAD view_voucher 80 RELOAD view_voucher CATCH . flag_incorrect_voucher 1 -INCMP _ 0 -INCMP quit 99 -INCMP > 11 -INCMP < 22 INCMP view_voucher *