rem: color = WMCreateNamedColor(WMWidgetScreen(panel->frame), str, False);
add: if (!(color = WMCreateNamedColor(WMWidgetScreen(panel->frame), str, False))) { color = WMCreateNamedColor(WMWidgetScreen(panel->frame), "#000000", False); }
context: showData(_Panel *panel){    int i;    char *str;    str = GetStringForKey("MenuStyle");    if (str && strcasecmp(str, "flat")==0) {	panel->menuStyle = MSTYLE_FLAT;    } else if (str && strcasecmp(str, "singletexture")==0) {	panel->menuStyle = MSTYLE_SINGLE;    } else {	panel->menuStyle = MSTYLE_NORMAL;    }    str = GetStringForKey("TitleJustify");    if (str && strcasecmp(str, "left")==0) {	panel->titleAlignment = WALeft;    } else if (str && strcasecmp(str, "right")==0) {	panel->titleAlignment = WARight;    } else {	panel->titleAlignment = WACenter;    }    for (i = 0; i < sizeof(colorOptions)/(2*sizeof(char*)); i++) {	WMColor *color;	str = GetStringForKey(colorOptions[i*2]);	if (!str)	    str = colorOptions[i*2+1];	color = WMCreateNamedColor(WMWidgetScreen(panel->frame), str, False);	panel->colors[i] = color;    }    changeColorPage(panel->colP, panel);    for (i = 0; i < sizeof(textureOptions)/(3*sizeof(char*)); i++) {	setupTextureFor(panel->texLs, textureOptions[i*3],			textureOptions[i*3+1], textureOptions[i*3+2], i);	panel->textureIndex[i] = i;    }    updatePreviewBox(panel, EVERYTHING);    for (i = 0; i < 3; i++) {	WMSetButtonSelected(panel->mstyB[i], i==panel->menuStyle);	WMSetButtonSelected(panel->taliB[i], i==panel->titleAlignment);    }}