dont reuse vairbale names

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-06-14 11:30:00 +00:00
parent cd87971bad
commit 2e75dae5d6

View file

@ -132,10 +132,10 @@ int handle_tree(struct skin *skin, struct skin_element* tree, struct line *line)
if (element->tag && next->type == LINE && if (element->tag && next->type == LINE &&
element->line == next->line) element->line == next->line)
{ {
struct line *line = (struct line*)skin_alloc(sizeof(struct line)); struct line *newline = (struct line*)skin_alloc(sizeof(struct line));
line->update_mode = 0; newline->update_mode = 0;
line->eat_line_ending = true; newline->eat_line_ending = true;
next->data = line; next->data = newline;
} }
} }
else if (element->type == LINE && !element->data) else if (element->type == LINE && !element->data)