Author: cwittich
Date: Sun Apr 9 18:55:58 2006
New Revision: 21531
URL:
http://svn.reactos.ru/svn/reactos?rev=21531&view=rev
Log:
display all timezones (buffer was too small)
Modified:
trunk/reactos/dll/cpl/timedate/timedate.c (contents, props changed)
Modified: trunk/reactos/dll/cpl/timedate/timedate.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/timedate/timedate.c…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/timedate.c (original)
+++ trunk/reactos/dll/cpl/timedate/timedate.c Sun Apr 9 18:55:58 2006
@@ -24,8 +24,8 @@
struct _TIMEZONE_ENTRY *Prev;
struct _TIMEZONE_ENTRY *Next;
WCHAR Description[64]; /* 'Display' */
- WCHAR StandardName[32]; /* 'Std' */
- WCHAR DaylightName[32]; /* 'Dlt' */
+ WCHAR StandardName[33]; /* 'Std' */
+ WCHAR DaylightName[33]; /* 'Dlt' */
TZ_INFO TimezoneInfo; /* 'TZI' */
ULONG Index; /* 'Index ' */
} TIMEZONE_ENTRY, *PTIMEZONE_ENTRY;
@@ -474,7 +474,7 @@
break;
}
- dwValueSize = 32 * sizeof(WCHAR);
+ dwValueSize = 33 * sizeof(WCHAR);
if (RegQueryValueExW(hZoneKey,
L"Std",
NULL,
@@ -486,7 +486,7 @@
break;
}
- dwValueSize = 32 * sizeof(WCHAR);
+ dwValueSize = 33 * sizeof(WCHAR);
if (RegQueryValueExW(hZoneKey,
L"Dlt",
NULL,
Propchange: trunk/reactos/dll/cpl/timedate/timedate.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*