From 0633fe53fb8c49792dcd3ad36e2dcb580763ecea Mon Sep 17 00:00:00 2001 From: barney2k7 Date: Tue, 6 Dec 2016 15:25:41 +0100 Subject: [PATCH] Bug 58661: avoid duplicate characters in stack traces The problem was that $secondhalflen is actually less than string-length($secondhalfword) in case the number of chars in word is even. This leads to $firsthalflen being calculated too long, resulting in a duplicated character. --- src/etc/junit-frames.xsl | 6 +++--- src/etc/junit-noframes.xsl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/etc/junit-frames.xsl b/src/etc/junit-frames.xsl index afea6e015d..624fd6923b 100644 --- a/src/etc/junit-frames.xsl +++ b/src/etc/junit-frames.xsl @@ -930,13 +930,13 @@ h6 { 32 - - + + - + diff --git a/src/etc/junit-noframes.xsl b/src/etc/junit-noframes.xsl index bd7002a969..fa3ac3e96b 100644 --- a/src/etc/junit-noframes.xsl +++ b/src/etc/junit-noframes.xsl @@ -470,13 +470,13 @@ 32 - - + + - +