diff options
Diffstat (limited to 'utils/themeeditor/skin_debug.c')
-rw-r--r-- | utils/themeeditor/skin_debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/themeeditor/skin_debug.c b/utils/themeeditor/skin_debug.c index 06764f9053..360d7208b9 100644 --- a/utils/themeeditor/skin_debug.c +++ b/utils/themeeditor/skin_debug.c | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "skin_parser.h" | 26 | #include "skin_parser.h" |
27 | #include "skin_debug.h" | 27 | #include "skin_debug.h" |
28 | #include "tag_table.h" | ||
28 | 29 | ||
29 | /* Global variables for debug output */ | 30 | /* Global variables for debug output */ |
30 | int debug_indent_level = 0; | 31 | int debug_indent_level = 0; |
@@ -123,7 +124,8 @@ void skin_debug_tree(struct skin_element* root) | |||
123 | break; | 124 | break; |
124 | 125 | ||
125 | case TAG: | 126 | case TAG: |
126 | printf("[ %s tag on line %d with %d arguments\n", current->name, | 127 | printf("[ %s tag on line %d with %d arguments\n", |
128 | current->tag->name, | ||
127 | current->line, current->params_count); | 129 | current->line, current->params_count); |
128 | debug_indent_level++; | 130 | debug_indent_level++; |
129 | skin_debug_params(current->params_count, current->params); | 131 | skin_debug_params(current->params_count, current->params); |