changeset 13340:c6ab9c1cf28d

[gaim-migrate @ 15710] With the caching changes, the struct and fields are no longer constant. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 27 Feb 2006 22:24:53 +0000
parents d46a27d29eed
children 42e6c5e038d8
files src/win32/libc_interface.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}