From 21e89e87865abdc7b61afcded42a2906b2f5fee7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 27 Jan 2011 11:27:53 +0000 Subject: Add some better debug info for when checkwps erros out because of full skin buffer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29144 a1c6a512-1295-4272-9138-f99709370657 --- lib/skin_parser/skin_debug.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/skin_parser/skin_debug.c') diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c index bcf43ab5e4..52f9127f1f 100644 --- a/lib/skin_parser/skin_debug.c +++ b/lib/skin_parser/skin_debug.c @@ -56,6 +56,8 @@ void skin_error(enum skin_errorcode error, const char* cursor) switch(error) { case MEMORY_LIMIT_EXCEEDED: + error_line_start = NULL; + printf("Error: Memory limit exceeded at Line %d\n", skin_line); error_message = "Memory limit exceeded"; break; case NEWLINE_EXPECTED: -- cgit v1.2.3