diff options
author | David A. Madore <david+git@madore.org> | 2011-08-26 16:47:01 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2011-08-26 16:47:01 +0200 |
commit | 7d3f4db185f5499160228afb228ecac6c6d22476 (patch) | |
tree | ea82e8b630fc9971219668d570dba19890fed68b | |
parent | ffe182b338e90ecd3f702c7142c4e43996e37d3c (diff) | |
download | damlengine-7d3f4db185f5499160228afb228ecac6c6d22476.tar.gz damlengine-7d3f4db185f5499160228afb228ecac6c6d22476.tar.bz2 damlengine-7d3f4db185f5499160228afb228ecac6c6d22476.zip |
"Evil" smiley had somehow escaped the list: fix this.
-rw-r--r-- | org/madore/damlengine/TodoElement.java | 1 | ||||
-rw-r--r-- | org/madore/damlengine/TodoSmileyElement.java | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoElement.java b/org/madore/damlengine/TodoElement.java index 462b503..95a22c4 100644 --- a/org/madore/damlengine/TodoElement.java +++ b/org/madore/damlengine/TodoElement.java @@ -58,6 +58,7 @@ public abstract class TodoElement extends TodoItem { damlFactories.put("smiley-neutral", new TodoSmileyElement.Factory(TodoSmileyElement.Type.NEUTRAL)); damlFactories.put("smiley-twisted", new TodoSmileyElement.Factory(TodoSmileyElement.Type.TWISTED)); damlFactories.put("smiley-cry", new TodoSmileyElement.Factory(TodoSmileyElement.Type.CRY)); + damlFactories.put("smiley-evil", new TodoSmileyElement.Factory(TodoSmileyElement.Type.EVIL)); } protected final Element node; diff --git a/org/madore/damlengine/TodoSmileyElement.java b/org/madore/damlengine/TodoSmileyElement.java index 6bf6faf..bd3fbc6 100644 --- a/org/madore/damlengine/TodoSmileyElement.java +++ b/org/madore/damlengine/TodoSmileyElement.java @@ -15,7 +15,8 @@ public final class TodoSmileyElement extends TodoDefaultElement { CRAZY("crazy", "%-)", "Crazy", "Fou"), NEUTRAL("neutral", ":-|", "Non-grin", "Sans sourire"), TWISTED("twisted", "8->", "Twisted", "Tordu"), - CRY("cry", "\u00A6-(", "Crying", "Pleure"); + CRY("cry", "\u00A6-(", "Crying", "Pleure"), + EVIL("evil", ">:-(", "Evil", "Mauvais"); final String emotion; final String altText; final String enName; |