summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/utils/synctex.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/utils/synctex.c')
-rw-r--r--Build/source/texk/web2c/luatexdir/utils/synctex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/utils/synctex.c b/Build/source/texk/web2c/luatexdir/utils/synctex.c
index d4471b4bed7..45a1c060946 100644
--- a/Build/source/texk/web2c/luatexdir/utils/synctex.c
+++ b/Build/source/texk/web2c/luatexdir/utils/synctex.c
@@ -1023,8 +1023,9 @@ void synctex_current(void)
if (SYNCTEX_IGNORE(nothing)) {
return;
} else {
+ size_t len;
pos = synch_p_with_c(cur);
- size_t len = SYNCTEX_fprintf(SYNCTEX_FILE,"x%i,%i:%i,%i\n",
+ len = SYNCTEX_fprintf(SYNCTEX_FILE,"x%i,%i:%i,%i\n",
synctex_ctxt.tag,synctex_ctxt.line,
pos.h UNIT,pos.v UNIT);
if(len>0) {