Mercurial > pidgin.yaz
diff libpurple/protocols/mxit/login.c @ 28979:c31707e63726
Fix reset-formatting for some cases.
When 'wbfo' (whole buffer formatting only) is set for an imhtml:
- always reset formatting of all the text in the imhtml
When 'wbfo' is not set:
- if some text is selected, reset formatting for the selected text
- if no text is selected, reset formatting for the current location
(insert) only, and leave the rest of the text alone.
We were doing this last thing wrong. Fixes #4499.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 20 Nov 2009 08:02:10 +0000 |
parents | 95f8e7fb1f67 |
children | 97900b3b55ca |