From 24581734737b9463ffd0951baf178ba33daa02b3 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Fri, 27 Dec 2013 21:15:41 +0100 Subject: [PATCH] Really use realpath Signed-off-by: Sebastian Ramacher --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index cf83892..c22e954 100644 --- a/main.c +++ b/main.c @@ -107,7 +107,7 @@ main(int argc, char* argv[]) return -1; } - const bool ret = synctex_forward_position(argv[1], synctex_fwd); + const bool ret = synctex_forward_position(real_path, synctex_fwd); free(real_path); if (ret == true) {