summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index b1cce15b..0e02ae8b 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -1201,10 +1201,10 @@ static void parse_appearance(gchar *tex, RrSurfaceColorType *grad,
*grad = RR_SURFACE_MIRROR_HORIZONTAL;
else if (strstr(tex, "horizontal") != NULL)
*grad = RR_SURFACE_HORIZONTAL;
- else if (strstr(tex, "vertical") != NULL)
- *grad = RR_SURFACE_VERTICAL;
else if (strstr(tex, "splitvertical") != NULL)
*grad = RR_SURFACE_SPLIT_VERTICAL;
+ else if (strstr(tex, "vertical") != NULL)
+ *grad = RR_SURFACE_VERTICAL;
else
*grad = RR_SURFACE_DIAGONAL;
} else {