summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-14 11:30:00 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-14 11:30:00 +0000
commit2e75dae5d6cd693b93f6ad12cc004244b539a9a9 (patch)
tree649247632517b7f91928adc987403da98e5f1571
parentcd87971badf61ddc53a534acd44c124d4a2cd026 (diff)
downloadrockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.tar.gz
rockbox-2e75dae5d6cd693b93f6ad12cc004244b539a9a9.zip
dont reuse vairbale names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26845 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--utils/newparser/handle_tags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/newparser/handle_tags.c b/utils/newparser/handle_tags.c
index 28c4548549..c7c1289183 100644
--- a/utils/newparser/handle_tags.c
+++ b/utils/newparser/handle_tags.c
@@ -132,10 +132,10 @@ int handle_tree(struct skin *skin, struct skin_element* tree, struct line *line)
132 if (element->tag && next->type == LINE && 132 if (element->tag && next->type == LINE &&
133 element->line == next->line) 133 element->line == next->line)
134 { 134 {
135 struct line *line = (struct line*)skin_alloc(sizeof(struct line)); 135 struct line *newline = (struct line*)skin_alloc(sizeof(struct line));
136 line->update_mode = 0; 136 newline->update_mode = 0;
137 line->eat_line_ending = true; 137 newline->eat_line_ending = true;
138 next->data = line; 138 next->data = newline;
139 } 139 }
140 } 140 }
141 else if (element->type == LINE && !element->data) 141 else if (element->type == LINE && !element->data)