summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-24 22:04:19 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-24 22:04:19 +0000
commitd4b90d3641c2a9845abba9aa7d51939d59951db4 (patch)
tree2c315557ebbf887dce0d3138b464fe2b666e9b7d /render
parent766e7ae9bfeb1dc0454d7b5b37296b91859831cb (diff)
strstr is our friend, thanks merry
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 {