Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
25e0f11c
Commit
25e0f11c
authored
Jan 13, 2014
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Make ME_GetDITypeName() static.
parent
5ac8507a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
editor.h
dlls/riched20/editor.h
+0
-1
list.c
dlls/riched20/list.c
+16
-15
No files found.
dlls/riched20/editor.h
View file @
25e0f11c
...
...
@@ -95,7 +95,6 @@ ME_DisplayItem *ME_FindItemBackOrHere(ME_DisplayItem *di, ME_DIType nTypeOrClass
ME_DisplayItem
*
ME_MakeDI
(
ME_DIType
type
)
DECLSPEC_HIDDEN
;
void
ME_DestroyDisplayItem
(
ME_DisplayItem
*
item
)
DECLSPEC_HIDDEN
;
void
ME_DumpDocument
(
ME_TextBuffer
*
buffer
)
DECLSPEC_HIDDEN
;
const
char
*
ME_GetDITypeName
(
ME_DIType
type
)
DECLSPEC_HIDDEN
;
/* string.c */
ME_String
*
ME_MakeStringN
(
LPCWSTR
szText
,
int
nMaxChars
)
DECLSPEC_HIDDEN
;
...
...
dlls/riched20/list.c
View file @
25e0f11c
...
...
@@ -139,9 +139,24 @@ ME_DisplayItem *ME_FindItemFwd(ME_DisplayItem *di, ME_DIType nTypeOrClass)
return
NULL
;
}
static
const
char
*
ME_GetDITypeName
(
ME_DIType
type
)
{
switch
(
type
)
{
case
diParagraph
:
return
"diParagraph"
;
case
diRun
:
return
"diRun"
;
case
diCell
:
return
"diCell"
;
case
diTextStart
:
return
"diTextStart"
;
case
diTextEnd
:
return
"diTextEnd"
;
case
diStartRow
:
return
"diStartRow"
;
default:
return
"?"
;
}
}
void
ME_DestroyDisplayItem
(
ME_DisplayItem
*
item
)
{
/* TRACE("type=%s\n", ME_GetDITypeName(item->type)); */
if
(
0
)
TRACE
(
"type=%s
\n
"
,
ME_GetDITypeName
(
item
->
type
));
if
(
item
->
type
==
diParagraph
)
{
FREE_OBJ
(
item
->
member
.
para
.
pFmt
);
...
...
@@ -172,20 +187,6 @@ ME_DisplayItem *ME_MakeDI(ME_DIType type)
return
item
;
}
const
char
*
ME_GetDITypeName
(
ME_DIType
type
)
{
switch
(
type
)
{
case
diParagraph
:
return
"diParagraph"
;
case
diRun
:
return
"diRun"
;
case
diCell
:
return
"diCell"
;
case
diTextStart
:
return
"diTextStart"
;
case
diTextEnd
:
return
"diTextEnd"
;
case
diStartRow
:
return
"diStartRow"
;
default:
return
"?"
;
}
}
void
ME_DumpDocument
(
ME_TextBuffer
*
buffer
)
{
/* FIXME this is useless, */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment