Fix typo: Call RegDeleteValue to delete a value.

svn path=/trunk/; revision=11621
This commit is contained in:
Eric Kohl 2004-11-11 17:46:22 +00:00
parent 301bbb3f0b
commit 0cc7d4d22d

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: timedate.c,v 1.4 2004/11/11 12:24:56 ekohl Exp $ /* $Id: timedate.c,v 1.5 2004/11/11 17:46:22 ekohl Exp $
* *
* PROJECT: ReactOS Timedate Control Panel * PROJECT: ReactOS Timedate Control Panel
* FILE: lib/cpl/timedate/timedate.c * FILE: lib/cpl/timedate/timedate.c
@ -458,8 +458,8 @@ SetAutoDaylightInfo(HWND hwnd)
} }
else else
{ {
RegDeleteKeyW(hKey, RegDeleteValueW(hKey,
L"DisableAutoDaylightTimeSet"); L"DisableAutoDaylightTimeSet");
} }
RegCloseKey(hKey); RegCloseKey(hKey);