summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-05-27 16:37:05 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-05-27 16:37:05 +0000
commit84bf74bdae8511d256fc0420ebd7cfe30b51bd9c (patch)
tree40dc165508be76d2417b6566e3105432a688627b /Build/source/texk
parentee1ed60b5391a0dcce459560ac8160e44660815b (diff)
use HUGE_VAL as INFINITY is not always defined
git-svn-id: svn://tug.org/texlive/trunk@8365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/synctex/synctex_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/synctex/synctex_parser.c b/Build/source/texk/web2c/synctex/synctex_parser.c
index 4f45c86d88b..eaa2bdcb241 100644
--- a/Build/source/texk/web2c/synctex/synctex_parser.c
+++ b/Build/source/texk/web2c/synctex/synctex_parser.c
@@ -2859,7 +2859,7 @@ we_are_done:
* The glue, kern, math are more appropriate for synchronization. */
if(node = SYNCTEX_CHILD(*start)) {
synctex_node_t best_node = NULL;
- best = INFINITY;
+ best = HUGE_VAL;
do {
switch((node->class)->type) {
default: