From 8d9369671ff548e02e114959c7299887fc4cbb55 Mon Sep 17 00:00:00 2001 From: Bob Stayton <bobs@sagehill.net> Date: Fri, 6 Aug 2004 15:45:35 +0000 Subject: [PATCH] Fixed bug where ximg:getDepth was using $nominal.image.width instead of depth. --- xsl/html/graphics.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index 613ab501d..c7738a232 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -263,7 +263,7 @@ </xsl:when> <xsl:when test="function-available('ximg:getDepth')"> <xsl:value-of select="ximg:getDepth(ximg:new($filename), - $nominal.image.width)"/> + $nominal.image.depth)"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$nominal.image.depth"/> -- 2.40.0