summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/synctexdir/synctex_main.c
diff options
context:
space:
mode:
authorJérôme Laurens <jerome.laurens@u-bourgogne.fr>2020-05-11 15:56:48 +0000
committerJérôme Laurens <jerome.laurens@u-bourgogne.fr>2020-05-11 15:56:48 +0000
commit996969c22f3cbfdc0a0aabe6e530a37f0e4b21b1 (patch)
tree51190360dd21976190cf3e41490392763d490a9c /Build/source/texk/web2c/synctexdir/synctex_main.c
parent61ab31af1fb910f473beb20b02bfb09411755be7 (diff)
Synctex parser tool: Typos fixed, keyword added, added...
git-svn-id: svn://tug.org/texlive/trunk@55094 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex_main.c')
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_main.c b/Build/source/texk/web2c/synctexdir/synctex_main.c
index 01f269673f5..ea676eacc1a 100644
--- a/Build/source/texk/web2c/synctexdir/synctex_main.c
+++ b/Build/source/texk/web2c/synctexdir/synctex_main.c
@@ -382,7 +382,7 @@ int synctex_view_proceed(synctex_view_params_t * Ps) {
printf("input:%s\n",Ps->input);
printf("viewer:%s\n",Ps->viewer);
printf("before:%s\n",Ps->before);
- printf("offset:%i\n",Ps->offset);
+ printf("offset:%u\n",Ps->offset);
printf("middle:%s\n",Ps->middle);
printf("after:%s\n",Ps->after);
printf("output:%s\n",Ps->output);
@@ -466,7 +466,7 @@ int synctex_view_proceed(synctex_view_params_t * Ps) {
TEST("&{width}", "%f",fabs(synctex_node_box_visible_width(node)));
TEST("&{height}","%f",fmax(synctex_node_box_visible_height(node)+synctex_node_box_visible_depth(node),1));
TEST("&{before}","%s",(Ps->before && strlen(Ps->before)<SYNCTEX_STR_SIZE?Ps->before:""));
- TEST("&{offset}","%i",Ps->offset);
+ TEST("&{offset}","%u",Ps->offset);
TEST("&{middle}","%s",(Ps->middle && strlen(Ps->middle)<SYNCTEX_STR_SIZE?Ps->middle:""));
TEST("&{after}", "%s",(Ps->after && strlen(Ps->after)<SYNCTEX_STR_SIZE?Ps->after:""));
# undef TEST
@@ -673,7 +673,7 @@ int synctex_edit_proceed(synctex_edit_params_t * Ps) {
printf("y:%f\n",Ps->y);
printf("almost output:%s\n",Ps->output);
printf("editor:%s\n",Ps->editor);
- printf("offset:%i\n",Ps->offset);
+ printf("offset:%u\n",Ps->offset);
printf("context:%s\n",Ps->context);
printf("cwd:%s\n",getcwd(NULL,0));
#endif
@@ -743,7 +743,7 @@ int synctex_edit_proceed(synctex_edit_params_t * Ps) {
TEST("&{input}", "%s",input);
TEST("&{line}", "%i",synctex_node_line(node));
TEST("&{column}", "%i",-1);
- TEST("&{offset}", "%i",Ps->offset);
+ TEST("&{offset}", "%u",Ps->offset);
TEST("&{context}","%s",Ps->context);
# undef TEST
break;