From: Martin Mares Date: Sat, 17 Jul 2010 17:02:32 +0000 (+0200) Subject: Report parse errors X-Git-Tag: v1.0~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b205aed8e1d020b99a3e275348b31879e78bbd7e;p=osdd.git Report parse errors --- diff --git a/osdd.c b/osdd.c index 98a35a6..0a79580 100644 --- a/osdd.c +++ b/osdd.c @@ -157,7 +157,7 @@ display_msg(struct msg *msg) else if (!strcmp(key, "outline-color")) xosd_set_outline_colour(osd, val); else - DBG("\tPARSE ERROR\n"); + xosd_display(osd, (row < num_lines ? row++ : num_lines-1), XOSD_string, "PARSE ERROR"); line = nl; }