summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-08-26 16:47:01 +0200
committerDavid A. Madore <david+git@madore.org>2011-08-26 16:47:01 +0200
commit7d3f4db185f5499160228afb228ecac6c6d22476 (patch)
treeea82e8b630fc9971219668d570dba19890fed68b
parentffe182b338e90ecd3f702c7142c4e43996e37d3c (diff)
downloaddamlengine-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.java1
-rw-r--r--org/madore/damlengine/TodoSmileyElement.java3
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;