Module: wine Branch: master Commit: ef2e53f9813a959931aa9ac0cc42d5ba9686941a URL: http://source.winehq.org/git/wine.git/?a=commit;h=ef2e53f9813a959931aa9ac0cc...
Author: Huw Davies huw@codeweavers.com Date: Tue Oct 4 13:07:37 2016 +0100
riched20: Move the wrap context struct into wrap.c .
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/riched20/editstr.h | 15 --------------- dlls/riched20/wrap.c | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/dlls/riched20/editstr.h b/dlls/riched20/editstr.h index 261a701..35555a9 100644 --- a/dlls/riched20/editstr.h +++ b/dlls/riched20/editstr.h @@ -460,19 +460,4 @@ typedef struct tagME_Context ME_TextEditor *editor; } ME_Context;
-typedef struct tagME_WrapContext -{ - ME_Style *style; - ME_Context *context; - int nLeftMargin, nRightMargin, nFirstMargin; - int nAvailWidth; - int nRow; - POINT pt; - BOOL bOverflown, bWordWrap; - ME_DisplayItem *pPara; - ME_DisplayItem *pRowStart; - - ME_DisplayItem *pLastSplittableRun; -} ME_WrapContext; - #endif diff --git a/dlls/riched20/wrap.c b/dlls/riched20/wrap.c index 195eb8d..24a7b16 100644 --- a/dlls/riched20/wrap.c +++ b/dlls/riched20/wrap.c @@ -33,6 +33,20 @@ WINE_DECLARE_DEBUG_CHANNEL(richedit_check); * - no tabs */
+typedef struct tagME_WrapContext +{ + ME_Style *style; + ME_Context *context; + int nLeftMargin, nRightMargin, nFirstMargin; + int nAvailWidth; + int nRow; + POINT pt; + BOOL bOverflown, bWordWrap; + ME_DisplayItem *pPara; + ME_DisplayItem *pRowStart; + + ME_DisplayItem *pLastSplittableRun; +} ME_WrapContext;
static BOOL get_run_glyph_buffers( ME_Run *run ) {