Mercurial > pidgin
changeset 3049:dd4d4c59a2a4
[gaim-migrate @ 3062]
That'll teach me to code with a migrane.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 15 Mar 2002 02:13:45 +0000 |
parents | e729c064bc1b |
children | 200b8133616a |
files | src/dialogs.c |
diffstat | 1 files changed, 1 insertions(+), 63 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Fri Mar 15 00:56:15 2002 +0000 +++ b/src/dialogs.c Fri Mar 15 02:13:45 2002 +0000 @@ -3209,69 +3209,7 @@ char *smiley_text; int i; - if (c->gc->prpl->smiley_list) { - smiley_text = strdup(current_smiley); - } else { - - for (i = 0; i < FACE_TOTAL; i++) - if (smiley_array[i] == 1) - break; - - switch (i) { - case (FACE_ANGEL): - smiley_text = g_strndup("O:-)", strlen("O:-)")); - break; - case (FACE_BIGSMILE): - smiley_text = g_strndup(":-D", strlen(":-D")); - break; - case (FACE_BURP): - smiley_text = g_strndup(":-!", strlen(":-!")); - break; - case (FACE_CROSSEDLIPS): - smiley_text = g_strndup(":-X", strlen(":-X")); - break; - case (FACE_CRY): - smiley_text = g_strndup(":'(", strlen(":'(")); - break; - case (FACE_EMBARRASSED): - smiley_text = g_strndup(":-[", strlen(":-[")); - break; - case (FACE_KISS): - smiley_text = g_strndup(":-*", strlen(":-*")); - break; - case (FACE_MONEYMOUTH): - smiley_text = g_strndup(":-$", strlen(":-$")); - break; - case (FACE_SAD): - smiley_text = g_strndup(":-(", strlen(":-(")); - break; - case (FACE_SCREAM): - smiley_text = g_strndup("=-O", strlen("=-O")); - break; - case (FACE_SMILE): - smiley_text = g_strndup(":-)", strlen(":-)")); - break; - case (FACE_SMILE8): - smiley_text = g_strndup("8-)", strlen("8-)")); - break; - case (FACE_THINK): - smiley_text = g_strndup(":-/", strlen(":-/")); - break; - case (FACE_TONGUE): - smiley_text = g_strndup(":-P", strlen(":-p")); - break; - case (FACE_WINK): - smiley_text = g_strndup(";-)", strlen(";-)")); - break; - case (FACE_YELL): - smiley_text = g_strndup(">:o", strlen(">:o")); - break; - default: - smiley_text = g_strndup(":-)", strlen(":-)")); - break; - } - } - + smiley_text = strdup(current_smiley); /* surround(c->entry, smiley_text, ""); */