Really use realpath

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Sebastian Ramacher 2013-12-27 21:15:41 +01:00
parent de46558ecc
commit 2458173473

2
main.c
View File

@ -107,7 +107,7 @@ main(int argc, char* argv[])
return -1; 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); free(real_path);
if (ret == true) { if (ret == true) {