diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-22 08:56:00 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-22 08:56:00 -0500 |
commit | eefbe31e308d3c7e031d757951f379c899ca62f6 (patch) | |
tree | 6158879ed208e332fcfce1723142ac872f94ee19 /lib | |
parent | db2f190f77f06bff004cf6550ba766a51dda0e5f (diff) | |
download | stitch-eefbe31e308d3c7e031d757951f379c899ca62f6.tar.gz stitch-eefbe31e308d3c7e031d757951f379c899ca62f6.tar.bz2 stitch-eefbe31e308d3c7e031d757951f379c899ca62f6.zip |
Bug fix: change order for line_number_arg
This resolves an issue in vis where it didn't correctly open the
correct line.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/stitched_article.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 _ = |