[PATCH 7/7] riched20: Move the wrap context struct into wrap.c .
Huw Davies
huw at codeweavers.com
Tue Oct 4 07:07:37 CDT 2016
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
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 )
{
--
2.8.2
More information about the wine-patches
mailing list