Hans Leidekker : mscms: Use NT directory for storing color profiles.

Alexandre Julliard julliard at winehq.org
Fri Jan 25 07:06:06 CST 2008


Module: wine
Branch: master
Commit: 72ba2be6c49e0d84ee6db68b6b9611a2e3cc1c79
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=72ba2be6c49e0d84ee6db68b6b9611a2e3cc1c79

Author: Hans Leidekker <hans at it.vu.nl>
Date:   Thu Jan 24 20:02:53 2008 +0100

mscms: Use NT directory for storing color profiles.

---

 dlls/mscms/profile.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index 4ecb361..11413f1 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -119,7 +119,8 @@ BOOL WINAPI GetColorDirectoryA( PCSTR machine, PSTR buffer, PDWORD size )
 BOOL WINAPI GetColorDirectoryW( PCWSTR machine, PWSTR buffer, PDWORD size )
 {
     WCHAR colordir[MAX_PATH];
-    static const WCHAR colorsubdir[] = { '\\','c','o','l','o','r',0 };
+    static const WCHAR colorsubdir[] =
+        {'\\','s','p','o','o','l','\\','d','r','i','v','e','r','s','\\','c','o','l','o','r',0};
     DWORD len;
 
     TRACE( "( %p, %p )\n", buffer, size );




More information about the wine-cvs mailing list