richedit: Only notify selection change when selection has actually changed from previ...
authorAlex Villacís Lasso <a_villacis@palosanto.com>
Sun, 27 Apr 2008 18:08:55 +0000 (13:08 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Apr 2008 12:56:11 +0000 (14:56 +0200)
commit1fa39b50c0bafeb72e85c257391e6cd5fb70182d
treef919aab64f724d501942d7941e9c438ee6229b41
parentcac55008c9640014bcbd9ccdbbe1872e3f390719
richedit: Only notify selection change when selection has actually changed from previous notification.

Otherwise, redundant and early notifications are sent to apps that do not expect them. Fixes crash #1 with Perfect! TextEdit.
dlls/riched20/caret.c
dlls/riched20/editor.c
dlls/riched20/editstr.h