Use proper system directory.

This commit is contained in:
Alexandre Julliard 1999-01-01 19:50:03 +00:00
parent eafae34251
commit 55de5585e6
1 changed files with 3 additions and 3 deletions

View File

@ -568,10 +568,10 @@ BOOL32 SIC_Initialize(void)
{ return(FALSE);
}
GetWindowsDirectory32A(szShellPath,MAX_PATH);
GetSystemDirectory32A(szShellPath,MAX_PATH);
PathAddBackslash32A(szShellPath);
strcat(szShellPath,"system\\shell32.dll");
strcat(szShellPath,"shell32.dll");
hSmRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);
hLgRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);