# HG changeset patch # User Daniel Atallah # Date 1141079093 0 # Node ID c6ab9c1cf28db72e7cb68b31fe63a4b1f71bf12e # Parent d46a27d29eed36ebd2e7694444fd85cddd107408 [gaim-migrate @ 15710] With the caching changes, the struct and fields are no longer constant. committer: Tailor Script diff -r d46a27d29eed -r c6ab9c1cf28d src/win32/libc_interface.c --- a/src/win32/libc_interface.c Mon Feb 27 19:40:46 2006 +0000 +++ b/src/win32/libc_interface.c Mon Feb 27 22:24:53 2006 +0000 @@ -456,12 +456,12 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. */ -static const struct +static struct { - const char *wstd; /* Windows name of standard timezone */ - const char *wdst; /* Windows name of daylight timezone */ - const char *ustd; /* Unix name of standard timezone */ - const char *udst; /* Unix name of daylight timezone */ + char *wstd; /* Windows name of standard timezone */ + char *wdst; /* Windows name of daylight timezone */ + char *ustd; /* Unix name of standard timezone */ + char *udst; /* Unix name of daylight timezone */ } win32_tzmap[] = { { @@ -933,7 +933,7 @@ if (win32_tzmap[0].wstd[0] != '\0') g_free(win32_tzmap[0].wstd); win32_tzmap[0].wstd = g_strdup(tzname); - win32_tzmap[1].ustd = win32_tzmap[i].ustd; + win32_tzmap[0].ustd = win32_tzmap[i].ustd; return win32_tzmap[i].ustd; } @@ -947,7 +947,7 @@ g_free(win32_tzmap[0].wdst); win32_tzmap[0].wdst = g_strdup(tzname); - win32_tzmap[1].udst = win32_tzmap[i].udst; + win32_tzmap[0].udst = win32_tzmap[i].udst; return win32_tzmap[i].udst; }