filtertext fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2905 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-10 23:20:39 +00:00
parent 86e14cc9fe
commit dc25037c9b
+2 -2
View File
@@ -23,7 +23,7 @@ struct filelog : log
{
if(!enabled) return;
s_sprintfdv(sf, msg);
filtertext(sf, sf);
filtertext(sf, sf, 2);
if(console)
{
@@ -78,7 +78,7 @@ struct posixsyslog : log
{
if(!enabled) return;
s_sprintfdv(sf, msg);
filtertext(sf, sf);
filtertext(sf, sf, 2);
int l = (level==log::info ? LOG_INFO : ( level==log::warning ? LOG_WARNING : LOG_ERR));
syslog(l, sf);
if(console)