Branch: Tag:

2011-10-29

2011-10-29 22:44:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Atomic: Added even more TYPEOF()s missed in the mega patch.

73:    } else {    int i;    for (i=0; i<a->size; i++) { -  if ((ITEM(a)+i)->type!=PIKE_T_STRING) +  if (TYPEOF(ITEM(a)[i]) != PIKE_T_STRING)    continue;    gsl=g_slist_prepend(gsl,STR0((ITEM(a)+i)->u.string));    }
157:    sts->mask=PGTK_GETINT(sv);    sv=low_mapping_string_lookup(m,_STR("foreground"));    if (sv) { -  if (sv->type==PIKE_T_OBJECT && get_gdkobject(sv->u.object,color)) +  if (TYPEOF(*sv) == PIKE_T_OBJECT && get_gdkobject(sv->u.object,color))    sts->foreground=*(GdkColor *)get_gdkobject(sv->u.object,color);    }    sv=low_mapping_string_lookup(m,_STR("background"));    if (sv) { -  if (sv->type==PIKE_T_OBJECT && get_gdkobject(sv->u.object,color)) +  if (TYPEOF(*sv) == PIKE_T_OBJECT && get_gdkobject(sv->u.object,color))    sts->background=*(GdkColor *)get_gdkobject(sv->u.object,color);    }    sv=low_mapping_string_lookup(m,_STR("italic"));