From eefbe31e308d3c7e031d757951f379c899ca62f6 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 22 May 2024 08:56:00 -0500 Subject: Bug fix: change order for line_number_arg This resolves an issue in vis where it didn't correctly open the correct line. --- lib/stitched_article.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stitched_article.ml b/lib/stitched_article.ml index 12b207f..ae9f174 100644 --- a/lib/stitched_article.ml +++ b/lib/stitched_article.ml @@ -193,7 +193,7 @@ let rec render it adds by removing the file_number *) let line_number_arg = "+" ^ Int.to_string line_number in let full_args = - Array.append (Array.of_list args) [| ""; full_path_file; line_number_arg |] + Array.append (Array.of_list args) [| ""; line_number_arg; full_path_file |] in Common.Term.cursor t (Some (0, 0)); let _ = -- cgit v1.2.3