diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-13 03:13:01 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-13 03:13:01 +0000 |
commit | 35b09cb615260a2d203da63b61587ba748e03727 (patch) | |
tree | 579cb6688731ba89fe144eb50ddb210410866eae /utils/themeeditor/skin_debug.c | |
parent | 3f06273e7cb2d84e152d2d2f26d68d489a024e7e (diff) | |
download | rockbox-35b09cb615260a2d203da63b61587ba748e03727.tar.gz rockbox-35b09cb615260a2d203da63b61587ba748e03727.zip |
initialise the element->type value so TAG types dont accidently get VIEWPORT if it element->type == 0 at alloc time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26825 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/skin_debug.c')
-rw-r--r-- | utils/themeeditor/skin_debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/skin_debug.c b/utils/themeeditor/skin_debug.c index 9a463c91e6..549f7b9e6c 100644 --- a/utils/themeeditor/skin_debug.c +++ b/utils/themeeditor/skin_debug.c | |||
@@ -112,6 +112,9 @@ void skin_debug_tree(struct skin_element* root) | |||
112 | 112 | ||
113 | switch(current->type) | 113 | switch(current->type) |
114 | { | 114 | { |
115 | case UNKNOWN: | ||
116 | printf("[ Unknown element.. error\n]"); | ||
117 | break; | ||
115 | 118 | ||
116 | case VIEWPORT: | 119 | case VIEWPORT: |
117 | printf("[ Viewport \n"); | 120 | printf("[ Viewport \n"); |