From 7d3f4db185f5499160228afb228ecac6c6d22476 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Fri, 26 Aug 2011 16:47:01 +0200 Subject: "Evil" smiley had somehow escaped the list: fix this. --- org/madore/damlengine/TodoElement.java | 1 + org/madore/damlengine/TodoSmileyElement.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3