Mercurial > pidgin
comparison src/protocols/oscar/im.c @ 9826:6f2a90c36ee2
[gaim-migrate @ 10697]
Kevin pointed out that the error message for AIM when you couldn't send
a message to someone could be better. So I made it better.
Also renamed AIM_IMCHARSET_bleh to AIM_CHARSET_bleh, since they're used
in direct connect stuff, too.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 22 Aug 2004 17:59:17 +0000 |
parents | 0c170246a9ec |
children | cee849d17167 |
comparison
equal
deleted
inserted
replaced
9825:c00def44d76a | 9826:6f2a90c36ee2 |
---|---|
1310 */ | 1310 */ |
1311 static int incomingim_ch1_parsemsgs(aim_session_t *sess, fu8_t *data, int len, struct aim_incomingim_ch1_args *args) | 1311 static int incomingim_ch1_parsemsgs(aim_session_t *sess, fu8_t *data, int len, struct aim_incomingim_ch1_args *args) |
1312 { | 1312 { |
1313 /* Should this be ASCII -> UNICODE -> Custom */ | 1313 /* Should this be ASCII -> UNICODE -> Custom */ |
1314 static const fu16_t charsetpri[] = { | 1314 static const fu16_t charsetpri[] = { |
1315 AIM_IMCHARSET_ASCII, /* ASCII first */ | 1315 AIM_CHARSET_ASCII, /* ASCII first */ |
1316 AIM_IMCHARSET_CUSTOM, /* then ISO-8859-1 */ | 1316 AIM_CHARSET_CUSTOM, /* then ISO-8859-1 */ |
1317 AIM_IMCHARSET_UNICODE, /* UNICODE as last resort */ | 1317 AIM_CHARSET_UNICODE, /* UNICODE as last resort */ |
1318 }; | 1318 }; |
1319 static const int charsetpricount = 3; | 1319 static const int charsetpricount = 3; |
1320 int i; | 1320 int i; |
1321 aim_bstream_t mbs; | 1321 aim_bstream_t mbs; |
1322 aim_mpmsg_section_t *sec; | 1322 aim_mpmsg_section_t *sec; |