dont reuse vairbale names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd87971bad
commit
2e75dae5d6
1 changed files with 4 additions and 4 deletions
|
@ -132,10 +132,10 @@ int handle_tree(struct skin *skin, struct skin_element* tree, struct line *line)
|
|||
if (element->tag && next->type == LINE &&
|
||||
element->line == next->line)
|
||||
{
|
||||
struct line *line = (struct line*)skin_alloc(sizeof(struct line));
|
||||
line->update_mode = 0;
|
||||
line->eat_line_ending = true;
|
||||
next->data = line;
|
||||
struct line *newline = (struct line*)skin_alloc(sizeof(struct line));
|
||||
newline->update_mode = 0;
|
||||
newline->eat_line_ending = true;
|
||||
next->data = newline;
|
||||
}
|
||||
}
|
||||
else if (element->type == LINE && !element->data)
|
||||
|
|
Loading…
Reference in a new issue