summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-11-11 09:57:37 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-11-11 09:57:37 +0000
commitf74a1aab64410c567054b28a286ad1ef56f2ce7f (patch)
tree348fdf37929c509dbbde039e6e9af9b34c5a6b7a /lib/skin_parser
parentd0ffa9315f9718f09edd3eab77d48dfacb410624 (diff)
downloadrockbox-f74a1aab64410c567054b28a286ad1ef56f2ce7f.tar.gz
rockbox-f74a1aab64410c567054b28a286ad1ef56f2ce7f.tar.bz2
rockbox-f74a1aab64410c567054b28a286ad1ef56f2ce7f.zip
Add a bit more debug output to checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser')
-rw-r--r--lib/skin_parser/skin_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c
index a09cd673c7..ce5af7d0c9 100644
--- a/lib/skin_parser/skin_debug.c
+++ b/lib/skin_parser/skin_debug.c
@@ -296,6 +296,8 @@ void skin_error_format_message()
{
int i;
char text[128];
+ if (!error_line_start)
+ return;
char* line_end = strchr(error_line_start, '\n');
int len = MIN(line_end - error_line_start, 80);
if (!line_end)