From: kramm Date: Wed, 16 Jan 2002 12:02:29 +0000 (+0000) Subject: fixed bug in logf. X-Git-Tag: release-0-2-2~7 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=e3355d3845678422c3a46741f7209f921c80cb70 fixed bug in logf. --- diff --git a/lib/log.c b/lib/log.c index ffa0e17..ace2987 100644 --- a/lib/log.c +++ b/lib/log.c @@ -253,7 +253,7 @@ void logf(const char* format, ...) /* speed up hack */ if(format[0]=='<') { char*z = "fewnvd"; - char*x = strchr(z,format[0]); + char*x = strchr(z,format[1]); if(x && (x-z)>maxloglevel) return; }