Commit b6ffca25 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

mscms: Use correct standard color space constants in GetStandardColorSpaceProfileW.

parent 51d40d82
......@@ -660,8 +660,9 @@ BOOL WINAPI GetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profi
GetColorDirectoryW( machine, rgbprofile, &len );
switch (id)
{
case SPACE_RGB: /* 'RGB ' */
case LCS_sRGB:
case LCS_WINDOWS_COLOR_SPACE: /* FIXME */
{
lstrcatW( rgbprofile, rgbprofilefile );
len = lstrlenW( rgbprofile ) * sizeof(WCHAR);
......
......@@ -151,6 +151,9 @@ typedef LONG FXPT2DOT30, *LPFXPT2DOT30;
typedef LONG LCSCSTYPE;
typedef LONG LCSGAMUTMATCH;
#define LCS_sRGB 0x73524742 /* 'sRGB' */
#define LCS_WINDOWS_COLOR_SPACE 0x57696e20 /* 'Win ' */
#define LCS_CALIBRATED_RGB 0x00000000L
#define LCS_DEVICE_RGB 0x00000001L
#define LCS_DEVICE_CMYK 0x00000002L
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment