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
f6d1767d
Commit
f6d1767d
authored
Jan 24, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Open .icm files only when enumerating color profiles.
parent
72ba2be6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
profile.c
dlls/mscms/profile.c
+2
-2
No files found.
dlls/mscms/profile.c
View file @
f6d1767d
...
@@ -611,7 +611,7 @@ BOOL WINAPI EnumColorProfilesA( PCSTR machine, PENUMTYPEA record, PBYTE buffer,
...
@@ -611,7 +611,7 @@ BOOL WINAPI EnumColorProfilesA( PCSTR machine, PENUMTYPEA record, PBYTE buffer,
PDWORD
size
,
PDWORD
number
)
PDWORD
size
,
PDWORD
number
)
{
{
BOOL
match
,
ret
=
FALSE
;
BOOL
match
,
ret
=
FALSE
;
char
spec
[]
=
"
\\
*"
;
char
spec
[]
=
"
\\
*
.icm
"
;
char
colordir
[
MAX_PATH
],
glob
[
MAX_PATH
],
**
profiles
=
NULL
;
char
colordir
[
MAX_PATH
],
glob
[
MAX_PATH
],
**
profiles
=
NULL
;
DWORD
i
,
len
=
sizeof
(
colordir
),
count
=
0
,
totalsize
=
0
;
DWORD
i
,
len
=
sizeof
(
colordir
),
count
=
0
,
totalsize
=
0
;
PROFILEHEADER
header
;
PROFILEHEADER
header
;
...
@@ -760,7 +760,7 @@ BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer,
...
@@ -760,7 +760,7 @@ BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer,
PDWORD
size
,
PDWORD
number
)
PDWORD
size
,
PDWORD
number
)
{
{
BOOL
match
,
ret
=
FALSE
;
BOOL
match
,
ret
=
FALSE
;
WCHAR
spec
[]
=
{
'\\'
,
'*'
,
0
};
WCHAR
spec
[]
=
{
'\\'
,
'*'
,
'i'
,
'c'
,
'm'
,
0
};
WCHAR
colordir
[
MAX_PATH
],
glob
[
MAX_PATH
],
**
profiles
=
NULL
;
WCHAR
colordir
[
MAX_PATH
],
glob
[
MAX_PATH
],
**
profiles
=
NULL
;
DWORD
i
,
len
=
sizeof
(
colordir
),
count
=
0
,
totalsize
=
0
;
DWORD
i
,
len
=
sizeof
(
colordir
),
count
=
0
,
totalsize
=
0
;
PROFILEHEADER
header
;
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