Fix build.

svn path=/trunk/; revision=20723
This commit is contained in:
Brandon Turner 2006-01-08 19:33:06 +00:00
parent 6428d77793
commit 66f4ffc0fd

View file

@ -99,10 +99,10 @@ GetAutostartEntriesFromRegistry ( HKEY hRootKey, TCHAR* KeyName )
switch (PtrToLong(hRootKey))
{
case HKEY_LOCAL_MACHINE:
case PtrToLong(HKEY_LOCAL_MACHINE):
_tcscpy(Path, _T("HKLM\\\0"));
break;
case HKEY_CURRENT_USER:
case PtrToLong(HKEY_CURRENT_USER):
_tcscpy(Path, _T("HKCU\\\0"));
break;
default: