mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Set file version consistently to avoid misunderstanding
This commit is contained in:
parent
7245156336
commit
395fafde6f
1 changed files with 4 additions and 1 deletions
|
@ -3037,7 +3037,10 @@ newDetailInZoneForType(GSTimeZone *zone, TypeInfo *type)
|
|||
/* For version 2+, skip to second header */
|
||||
if (header->tzh_version[0] != 0)
|
||||
{
|
||||
version = header->tzh_version[0];
|
||||
/* tzh_version[0] is an ascii digit for versions above 1.
|
||||
*/
|
||||
version = header->tzh_version[0] - '0';
|
||||
|
||||
/* pos indexes after the first header, increment it to index after
|
||||
* the data associated with that header too.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue