VirtualBox

Changeset 53386 in vbox for trunk


Ignore:
Timestamp:
Nov 24, 2014 1:23:11 PM (10 years ago)
Author:
vboxsync
Message:

glue-java.xsl: Fixed bug in string-trim where it was looking at the penultimate character instead of the last one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/glue-java.xsl

    r53385 r53386  
    159159    </xsl:when>
    160160    <xsl:otherwise>
    161       <xsl:variable name="end" select="substring($text, string-length($text) - 1, 1)"/>
     161      <xsl:variable name="end" select="substring($text, string-length($text), 1)"/>
    162162      <xsl:choose>
    163163        <xsl:when test="$end = ' ' or $end = '&#10;' or $end = '&#13;'">
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette