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
11f59093
Commit
11f59093
authored
Jun 19, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Constify some variables.
parent
581a0e09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
paint.c
dlls/riched20/paint.c
+2
-2
No files found.
dlls/riched20/paint.c
View file @
11f59093
...
...
@@ -288,7 +288,7 @@ static void ME_DrawRun(ME_Context *c, int x, int y, ME_DisplayItem *rundi, ME_Pa
}
}
static
struct
{
unsigned
width_num
:
4
,
width_den
:
4
,
pen_style
:
4
,
dble
:
1
;}
border_details
[]
=
{
static
const
struct
{
unsigned
width_num
:
4
,
width_den
:
4
,
pen_style
:
4
,
dble
:
1
;}
border_details
[]
=
{
/* none */
{
0
,
1
,
PS_SOLID
,
FALSE
},
/* 3/4 */
{
3
,
4
,
PS_SOLID
,
FALSE
},
/* 1 1/2 */
{
3
,
2
,
PS_SOLID
,
FALSE
},
...
...
@@ -303,7 +303,7 @@ static struct {unsigned width_num : 4, width_den : 4, pen_style : 4, dble : 1;}
/* 1 1/2 dashed */
{
3
,
2
,
PS_DASH
,
FALSE
},
};
static
COLORREF
pen_colors
[
16
]
=
{
static
const
COLORREF
pen_colors
[
16
]
=
{
/* Black */
RGB
(
0x00
,
0x00
,
0x00
),
/* Blue */
RGB
(
0x00
,
0x00
,
0xFF
),
/* Cyan */
RGB
(
0x00
,
0xFF
,
0xFF
),
/* Green */
RGB
(
0x00
,
0xFF
,
0x00
),
/* Magenta */
RGB
(
0xFF
,
0x00
,
0xFF
),
/* Red */
RGB
(
0xFF
,
0x00
,
0x00
),
...
...
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