summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex_parser.c2
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 */