mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:23:21 +00:00
display all timezones (buffer was too small)
svn path=/trunk/; revision=21531
This commit is contained in:
parent
9be3d80da2
commit
62556472e1
1 changed files with 4 additions and 4 deletions
|
@ -24,8 +24,8 @@ typedef struct _TIMEZONE_ENTRY
|
||||||
struct _TIMEZONE_ENTRY *Prev;
|
struct _TIMEZONE_ENTRY *Prev;
|
||||||
struct _TIMEZONE_ENTRY *Next;
|
struct _TIMEZONE_ENTRY *Next;
|
||||||
WCHAR Description[64]; /* 'Display' */
|
WCHAR Description[64]; /* 'Display' */
|
||||||
WCHAR StandardName[32]; /* 'Std' */
|
WCHAR StandardName[33]; /* 'Std' */
|
||||||
WCHAR DaylightName[32]; /* 'Dlt' */
|
WCHAR DaylightName[33]; /* 'Dlt' */
|
||||||
TZ_INFO TimezoneInfo; /* 'TZI' */
|
TZ_INFO TimezoneInfo; /* 'TZI' */
|
||||||
ULONG Index; /* 'Index ' */
|
ULONG Index; /* 'Index ' */
|
||||||
} TIMEZONE_ENTRY, *PTIMEZONE_ENTRY;
|
} TIMEZONE_ENTRY, *PTIMEZONE_ENTRY;
|
||||||
|
@ -474,7 +474,7 @@ CreateTimeZoneList(VOID)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
dwValueSize = 32 * sizeof(WCHAR);
|
dwValueSize = 33 * sizeof(WCHAR);
|
||||||
if (RegQueryValueExW(hZoneKey,
|
if (RegQueryValueExW(hZoneKey,
|
||||||
L"Std",
|
L"Std",
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -486,7 +486,7 @@ CreateTimeZoneList(VOID)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
dwValueSize = 32 * sizeof(WCHAR);
|
dwValueSize = 33 * sizeof(WCHAR);
|
||||||
if (RegQueryValueExW(hZoneKey,
|
if (RegQueryValueExW(hZoneKey,
|
||||||
L"Dlt",
|
L"Dlt",
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue