summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 39de9870fd7..e4f2a2b5e5f 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -3084,9 +3084,10 @@ getjobname(strnumber name)
while (i<l)
{
p = multistrlenshort(strpool, l, i);
- if (p>1)
- for (int j=i+p; i<j; i++) strpool[i] = (0xFF&strpool[i])+0x100;
- else i++;
+ if (p>1) {
+ int j;
+ for (j=i+p; i<j; i++) strpool[i] = (0xFF&strpool[i])+0x100;
+ } else i++;
}
#endif /* IS_pTeX */
return ret;