Make string formating functions correctly handle %%. Thanks to Hiroshi Sakurai

darcs-hash:20060116150424-ac50b-0025006d1821da25ad131cca61e879d724694934.gz
This commit is contained in:
axel 2006-01-17 01:04:24 +10:00
parent 5bd66ee2ce
commit 85c87fe267

View File

@ -585,6 +585,12 @@ static int vgwprintf( void (*writer)(wchar_t),
*n = count;
break;
}
case L'%':
{
writer('%');
count++;
break;
}
default:
debug( 0, L"Unknown switch %lc in string %ls\n", *filter, filter_org );
// exit(1);