Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a07e3341
Commit
a07e3341
authored
Nov 30, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Turn variables 'slash' and 'spec' into static constants.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cd485b32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
profile.c
dlls/mscms/profile.c
+3
-2
No files found.
dlls/mscms/profile.c
View file @
a07e3341
...
...
@@ -668,9 +668,10 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
static
BOOL
header_from_file
(
LPCWSTR
file
,
PPROFILEHEADER
header
)
{
static
const
WCHAR
slash
[]
=
{
'\\'
,
0
};
BOOL
ret
;
PROFILE
profile
;
WCHAR
path
[
MAX_PATH
]
,
slash
[]
=
{
'\\'
,
0
}
;
WCHAR
path
[
MAX_PATH
];
DWORD
size
=
sizeof
(
path
);
HANDLE
handle
;
...
...
@@ -953,8 +954,8 @@ exit:
BOOL
WINAPI
EnumColorProfilesW
(
PCWSTR
machine
,
PENUMTYPEW
record
,
PBYTE
buffer
,
PDWORD
size
,
PDWORD
number
)
{
static
const
WCHAR
spec
[]
=
{
'\\'
,
'*'
,
'i'
,
'c'
,
'm'
,
0
};
BOOL
match
,
ret
=
FALSE
;
WCHAR
spec
[]
=
{
'\\'
,
'*'
,
'i'
,
'c'
,
'm'
,
0
};
WCHAR
colordir
[
MAX_PATH
],
glob
[
MAX_PATH
],
**
profiles
=
NULL
;
DWORD
i
,
len
=
sizeof
(
colordir
),
count
=
0
,
totalsize
=
0
;
PROFILEHEADER
header
;
...
...
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