mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Make string formating functions correctly handle %%. Thanks to Hiroshi Sakurai
darcs-hash:20060116150424-ac50b-0025006d1821da25ad131cca61e879d724694934.gz
This commit is contained in:
parent
5bd66ee2ce
commit
85c87fe267
1 changed files with 6 additions and 0 deletions
6
wutil.c
6
wutil.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue