diff options
author | Jérôme Laurens <jerome.laurens@u-bourgogne.fr> | 2017-09-14 16:23:15 +0000 |
---|---|---|
committer | Jérôme Laurens <jerome.laurens@u-bourgogne.fr> | 2017-09-14 16:23:15 +0000 |
commit | 401a005602980b783c937aaf6a0746ca32acd30d (patch) | |
tree | ff8b878be2098205107387575cbf462587035417 /Build | |
parent | 81bdc9b3c75ac1f42cd7da0dc2ece5a688993546 (diff) |
Fixed a division by 0 error in synctex_parser.c (Text editors only)
git-svn-id: svn://tug.org/texlive/trunk@45300 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser.c b/Build/source/texk/web2c/synctexdir/synctex_parser.c index 278646f3961..85fbc0df2b6 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser.c +++ b/Build/source/texk/web2c/synctexdir/synctex_parser.c @@ -6600,7 +6600,7 @@ SYNCTEX_INLINE static synctex_box_s _synctex_data_box_V(synctex_node_p node) { static synctex_node_p _synctex_node_box_visible(synctex_node_p node) { if ((node = _synctex_node_or_handle_target(node))) { int mean = 0; - int bound = 1500000/(node->class->scanner->pre_magnification/1000); + int bound = 1500000/(node->class->scanner->pre_magnification/1000.0); synctex_node_p parent = NULL; /* get the first enclosing parent * then get the highest enclosing parent with the same mean line ±1 */ |