summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-29 00:04:59 +0000
committerKarl Berry <karl@freefriends.org>2006-12-29 00:04:59 +0000
commit1e9809d43549e836919079b0f9db6c7204472da1 (patch)
tree6dd102da58ea7afa5a957809039e6d55a839bbba
parentcbc93719da3057bd34a80e87d967ba5c43cc0189 (diff)
no spaces in mf args; deleted wrong sprintf arg
git-svn-id: svn://tug.org/texlive/trunk@3000 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-make.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 82e040e3188..5ed366ae354 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-29 Karl Berry <karl@tug.org>
+
+ * tex-make.c (set_maketex_mag): deleted wrong extra arg;
+ do not generate args with spaces for mf. From Akira.
+
2006-12-26 Karl Berry <karl@tug.org>
* tex-make.c: (set_maketex_mag): remove spurious extra argument
diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c
index 9a85f8c565f..2f4a3c59aa4 100644
--- a/Build/source/texk/kpathsea/tex-make.c
+++ b/Build/source/texk/kpathsea/tex-make.c
@@ -66,13 +66,13 @@ set_maketex_mag P1H(void)
if (f > 1) {
if (r > 0) {
- sprintf(q, "%u+%u/(%u*%u + %u)",
+ sprintf(q, "%u+%u/(%u*%u+%u)",
dpi/bdpi, dpi%bdpi, f, (bdpi - r)/f, r);
} else {
sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
}
} else {
- sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi);
+ sprintf(q, "%u+%u/(4000+%u)", dpi/bdpi, dpi%bdpi, r);
}
}
} else {