From 35b09cb615260a2d203da63b61587ba748e03727 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 13 Jun 2010 03:13:01 +0000 Subject: 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 --- utils/themeeditor/skin_debug.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/themeeditor/skin_debug.c') 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) switch(current->type) { + case UNKNOWN: + printf("[ Unknown element.. error\n]"); + break; case VIEWPORT: printf("[ Viewport \n"); -- cgit v1.2.3