- for f=f, make \r take preference over \n to line end to not get garbage for \r\n line ends
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@498
e385b8ad-14ed-0310-8656-
cc95a2468c6d
* possibly a change in quoting level. But that's better than not
* displaying it at all.
*/
* possibly a change in quoting level. But that's better than not
* displaying it at all.
*/
- if ((t = strrchr (buf, '\n')) || (t = strrchr (buf, '\r'))) {
+ if ((t = strrchr (buf, '\r')) || (t = strrchr (buf, '\n'))) {
*t = '\0';
buf_len = t - buf;
}
*t = '\0';
buf_len = t - buf;
}