[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:03:37 UTC 2012
The following commit has been merged in the wheezy branch:
commit 2ed038763e74dbe0259c661d99c93fc6aea286d2
Author: Dan Kegel <dank at kegel.com>
Date: Wed May 9 14:53:01 2012 -0700
riched20: Don't need to redraw when changing selection from none to none.
(cherry picked from commit 499604337461d0fbd9f922022fa86a9fc0434317)
diff --git a/dlls/riched20/caret.c b/dlls/riched20/caret.c
index 093bd20..7decff2 100644
--- a/dlls/riched20/caret.c
+++ b/dlls/riched20/caret.c
@@ -146,8 +146,11 @@ int ME_SetSelection(ME_TextEditor *editor, int from, int to)
{
int start, end;
ME_GetSelectionOfs(editor, &start, &end);
- editor->pCursors[1] = editor->pCursors[0];
- ME_Repaint(editor);
+ if (start != end)
+ {
+ editor->pCursors[1] = editor->pCursors[0];
+ ME_Repaint(editor);
+ }
ME_ClearTempStyle(editor);
return end;
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list