summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/weav-twill.ch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/weav-twill.ch b/Build/source/texk/web2c/weav-twill.ch
index 7fb50198a52..f43a03bf660 100644
--- a/Build/source/texk/web2c/weav-twill.ch
+++ b/Build/source/texk/web2c/weav-twill.ch
@@ -940,7 +940,7 @@ exit:end;
procedure out_const(@!n:sixteen_bits);
var a,k:integer;
begin a:=n; k:=0;
-if a>=32768 then
+if a>=65536 then
begin out("-"); a:=131072-a;
end;
repeat dig[k]:=a mod 10; a:=a div 10; incr(k);