Fix bug in 5bfb266
John Smith

John Smith commited on 2022-364 23:59:41
Showing 1 changed files, with 1 additions and 0 deletions.


Before this change, if the user input a number of prompts to review
greater than the number queued, the indicator would display
the number input by the user rather than the true number of prompts
to review.
... ...
@@ -270,6 +270,7 @@ local actions = {
270 270
                 io.write("Input not a number; aborting\n")
271 271
                 return nil
272 272
             end
273
+            climn = math.min(climn, #ctrt)
273 274
             local lrc = 0
274 275
             local editqueue = {}
275 276
             local start = os.time()
276 277