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
This commit is contained in:
Martin Meyer
2007-12-09 19:39:26 +00:00
committed by Thomas James Alexander Thurman
parent 2891388813
commit 71c83da805
2 changed files with 7 additions and 1 deletions

View File

@ -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