Sat, 21 Jul 2007 02:33:11 +0000
Recognize non-canonical emoticon forms from Pidgin, and turn them into
msim emoticons. For example, turn :-) as well as :) into emoticons.
| libpurple/protocols/myspace/myspace.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/myspace/myspace.c Sat Jul 21 02:13:34 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Sat Jul 21 02:33:11 2007 +0000 @@ -38,25 +38,34 @@ #include "myspace.h" -/* Based on Miranda plugin by Scott Ellis, formatting.cpp, +/* Loosely based on Miranda plugin by Scott Ellis, formatting.cpp, * https://server.scottellis.com.au/websvn/filedetails.php?repname=Miranda+Plugins&path=%2FMySpace%2Fformatting.cpp&rev=0&sc=0 */ +/* The names in in emoticon_names (for <i n=whatever>) map to corresponding + * entries in emoticon_symbols (for the ASCII representation of the emoticon). + */ static const char *emoticon_names[] = { - "bigsmile", "growl", "mad", "scared", "tongue", - "devil", "happy", "messed", "sidefrown", "upset", - "frazzled", "heart", "nerd", "sinister", "wink", /* wink doesn't work */ - "geek", "laugh", "oops", "smirk", "worried", + "bigsmile", "growl", "growl", "mad", "scared", "scared", "tongue", "tongue", + "devil", "devil", "happy", "happy", "happi", + "messed", "sidefrown", "upset", + "frazzled", "heart", "heart", "nerd", "sinister", "wink", "winc", + "geek", "laugh", "laugh", "oops", "smirk", "worried", "worried", "googles", "mohawk", "pirate", "straight", "kiss", - "happi" /* ??? */,