From 71c83da8059b7625b07205e02777eabfb256e67d Mon Sep 17 00:00:00 2001 From: Martin Meyer Date: Sun, 9 Dec 2007 19:39:26 +0000 Subject: [PATCH] Fix typo where wrong variable was checked (reported by Kjartan Maraas). 2007-12-08 Martin Meyer * 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 --- ChangeLog | 6 ++++++ src/theme-parser.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 67bdc5519..14cf18687 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-08 Martin Meyer + + * 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 * 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 1c57950ed..fb7c2bf2b 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