summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc')
-rw-r--r--Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc b/Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc
index 87b49cb56cd..caec39fd7f9 100644
--- a/Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc
+++ b/Build/source/texk/lcdf-typetools/ttftotype42/ttftotype42.cc
@@ -182,7 +182,7 @@ do_file(const char *infn, const char *outfn, ErrorHandler *errh)
StringAccum sa(150000);
while (!feof(f)) {
int forward = fread(sa.reserve(32768), 1, 32768, f);
- sa.forward(forward);
+ sa.adjust_length(forward);
}
if (f != stdin)
fclose(f);