Huw Davies : riched20: Allow the style to remain selected in the context.
Alexandre Julliard
julliard at winehq.org
Mon Aug 19 15:35:12 CDT 2019
Module: wine
Branch: master
Commit: 6f1cc1f3b5eadadd8a97a8f15ff82d2a83261f66
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6f1cc1f3b5eadadd8a97a8f15ff82d2a83261f66
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Aug 19 10:55:28 2019 +0100
riched20: Allow the style to remain selected in the context.
This avoids swapping out the font if the next run uses the same style.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/riched20/context.c | 5 ++-
dlls/riched20/editor.h | 3 +-
dlls/riched20/editstr.h | 2 ++
dlls/riched20/paint.c | 13 ++-----
dlls/riched20/para.c | 4 +--
dlls/riched20/run.c | 23 ++++++------
dlls/riched20/style.c | 94 +++++++++++++++++++++++++++----------------------
dlls/riched20/wrap.c | 5 +--
8 files changed, 75 insertions(+), 74 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=6f1cc1f3b5eadadd8a97a8f15ff82d2a83261f66
More information about the wine-cvs
mailing list