comparison src/themes.c @ 6478:338147ea6896

[gaim-migrate @ 6991] Some compiler warning fixes for 64-bit platforms from Robot101. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 15 Aug 2003 22:16:44 +0000
parents 8f94cce8faa5
children 662a33ce4343
comparison
equal deleted inserted replaced
6477:a224dc78d10a 6478:338147ea6896
128 while (isspace(*i)) 128 while (isspace(*i))
129 i++; 129 i++;
130 130
131 if (*i == '[' && strchr(i, ']') && load) { 131 if (*i == '[' && strchr(i, ']') && load) {
132 struct smiley_list *child = g_new0(struct smiley_list, 1); 132 struct smiley_list *child = g_new0(struct smiley_list, 1);
133 child->sml = g_strndup(i+1, (int)strchr(i, ']') - (int)i - 1); 133 child->sml = g_strndup(i+1, strchr(i, ']') - i - 1);
134 if (theme->list) 134 if (theme->list)
135 list->next = child; 135 list->next = child;
136 else 136 else
137 theme->list = child; 137 theme->list = child;
138 list = child; 138 list = child;