summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index c31ca112..95b48896 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -1307,8 +1307,8 @@ static gboolean find_point(ParseState *ps, xmlNodePtr n, gchar *names[],
{
if ((n = find_node(n, names))) {
gint a, b;
- if (parse_attr_int("horizontal", n, &a) &&
- parse_attr_int("vertical", n, &b) &&
+ if (parse_attr_int("x", n, &a) &&
+ parse_attr_int("y", n, &b) &&
a >= lowx && a <= upx && b >= lowy && b <= upy)
{
*x = a; *y = b;