actually allow raised, but default to flat for parentrelative
This commit is contained in:
parent
3a89939c2d
commit
ee36c0d379
1 changed files with 5 additions and 2 deletions
|
@ -1476,10 +1476,13 @@ static void parse_style(gchar *tex, RrSurfaceColorType *grad,
|
|||
|
||||
if (strstr(tex, "sunken") != NULL)
|
||||
*relief = RR_RELIEF_SUNKEN;
|
||||
else if ((strstr(tex, "flat") != NULL) || (*grad == RR_SURFACE_PARENTREL))
|
||||
else if (strstr(tex, "flat") != NULL)
|
||||
*relief = RR_RELIEF_FLAT;
|
||||
else
|
||||
else if (strstr(tex, "raised") != NULL)
|
||||
*relief = RR_RELIEF_RAISED;
|
||||
else
|
||||
*relief = (*grad == RR_SURFACE_PARENTREL) ?
|
||||
RR_RELIEF_FLAT : RR_RELIEF_RAISED;
|
||||
|
||||
*border = FALSE;
|
||||
if (*relief == RR_RELIEF_FLAT) {
|
||||
|
|
Loading…
Reference in a new issue