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.zip rockbox-35b09cb615260a2d203da63b61587ba748e03727.tar.gz rockbox-35b09cb615260a2d203da63b61587ba748e03727.tar.bz2 rockbox-35b09cb615260a2d203da63b61587ba748e03727.tar.xz | |
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 9a463c9..549f7b9 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) switch(current->type) { + case UNKNOWN: + printf("[ Unknown element.. error\n]"); + break; case VIEWPORT: printf("[ Viewport \n"); |