summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Meyer <elreydetodo@gmail.com>2007-12-09 19:39:26 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2007-12-09 19:39:26 +0000
commit71c83da8059b7625b07205e02777eabfb256e67d (patch)
tree571daa3e1920fde16fbc94b63e63c0fa3d2e8858
parent289138881363e2d0939f3a4486ff27b7e509e04d (diff)
downloadmetacity-71c83da8059b7625b07205e02777eabfb256e67d.tar.gz
Fix typo where wrong variable was checked (reported by Kjartan Maraas).
2007-12-08 Martin Meyer <elreydetodo@gmail.com> * src/theme-parser.c (parse_draw_op_element): Fix typo where wrong variable was checked (reported by Kjartan Maraas). Closes #501362. svn path=/trunk/; revision=3462
-rw-r--r--ChangeLog6
-rw-r--r--src/theme-parser.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 67bdc551..14cf1868 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-08 Martin Meyer <elreydetodo@gmail.com>
+
+ * src/theme-parser.c (parse_draw_op_element): Fix
+ typo where wrong variable was checked (reported by
+ Kjartan Maraas). Closes #501362.
+
2007-11-19 Lucas Rocha <lucasr@gnome.org>
* src/main.c (main): try to get the session client ID from
diff --git a/src/theme-parser.c b/src/theme-parser.c
index 1c57950e..fb7c2bf2 100644
--- a/src/theme-parser.c
+++ b/src/theme-parser.c
@@ -3182,7 +3182,7 @@ parse_draw_op_element (GMarkupParseContext *context,
if (tile_xoffset && !check_expression (tile_xoffset, FALSE, info->theme, context, error))
return;
- if (tile_yoffset && !check_expression (tile_xoffset, FALSE, info->theme, context, error))
+ if (tile_yoffset && !check_expression (tile_yoffset, FALSE, info->theme, context, error))
return;
/* x/y/width/height default to 0,0,width,height - should