From 566416b25fb7222d957f724b24d0430e58e25763 Mon Sep 17 00:00:00 2001 From: kitfox Date: Tue, 5 May 2009 23:23:52 +0000 Subject: Color table now parses the 'currentColor' color git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@66 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b --- src/main/java/com/kitfox/svg/xml/ColorTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/kitfox/svg/xml/ColorTable.java b/src/main/java/com/kitfox/svg/xml/ColorTable.java index 5152823..0acba6d 100644 --- a/src/main/java/com/kitfox/svg/xml/ColorTable.java +++ b/src/main/java/com/kitfox/svg/xml/ColorTable.java @@ -44,9 +44,9 @@ public class ColorTable HashMap table = new HashMap(); //We really should be interpreting the currentColor keyword as - // a reference to the referrring node's color, but this quick hack + // a reference to the referring node's color, but this quick hack // will stop the program from crashing. - table.put("currentColor", new Color(0x0)); + table.put("currentcolor", new Color(0x0)); table.put("aliceblue", new Color(0xf0f8ff)); table.put("antiquewhite", new Color(0xfaebd7)); -- cgit v1.2.3-55-g7522