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
b6ffca25
Commit
b6ffca25
authored
Sep 02, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW.
parent
51d40d82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
profile.c
dlls/mscms/profile.c
+3
-2
wingdi.h
include/wingdi.h
+3
-0
No files found.
dlls/mscms/profile.c
View file @
b6ffca25
...
@@ -660,8 +660,9 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
...
@@ -660,8 +660,9 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
GetColorDirectoryW
(
machine
,
rgbprofile
,
&
len
);
GetColorDirectoryW
(
machine
,
rgbprofile
,
&
len
);
switch
(
id
)
switch
(
id
)
{
case
LCS_sRGB
:
case
SPACE_RGB
:
/* 'RGB ' */
case
LCS_WINDOWS_COLOR_SPACE
:
/* FIXME */
{
lstrcatW
(
rgbprofile
,
rgbprofilefile
);
lstrcatW
(
rgbprofile
,
rgbprofilefile
);
len
=
lstrlenW
(
rgbprofile
)
*
sizeof
(
WCHAR
);
len
=
lstrlenW
(
rgbprofile
)
*
sizeof
(
WCHAR
);
...
...
include/wingdi.h
View file @
b6ffca25
...
@@ -151,6 +151,9 @@ typedef LONG FXPT2DOT30, *LPFXPT2DOT30;
...
@@ -151,6 +151,9 @@ typedef LONG FXPT2DOT30, *LPFXPT2DOT30;
typedef
LONG
LCSCSTYPE
;
typedef
LONG
LCSCSTYPE
;
typedef
LONG
LCSGAMUTMATCH
;
typedef
LONG
LCSGAMUTMATCH
;
#define LCS_sRGB 0x73524742
/* 'sRGB' */
#define LCS_WINDOWS_COLOR_SPACE 0x57696e20
/* 'Win ' */
#define LCS_CALIBRATED_RGB 0x00000000L
#define LCS_CALIBRATED_RGB 0x00000000L
#define LCS_DEVICE_RGB 0x00000001L
#define LCS_DEVICE_RGB 0x00000001L
#define LCS_DEVICE_CMYK 0x00000002L
#define LCS_DEVICE_CMYK 0x00000002L
...
...
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