mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
AK: Allow printing wide characters using %ls modifier
This commit is contained in:
parent
824cf570d3
commit
704e1d13f4
4 changed files with 84 additions and 2 deletions
|
@ -118,6 +118,17 @@ struct ArgvNextArgument<const char*, V> {
|
|||
}
|
||||
};
|
||||
|
||||
template<typename V>
|
||||
struct ArgvNextArgument<const wchar_t*, V> {
|
||||
ALWAYS_INLINE const wchar_t* operator()(V arg) const
|
||||
{
|
||||
if (arg.argc == 0)
|
||||
return L"";
|
||||
|
||||
return L"";
|
||||
}
|
||||
};
|
||||
|
||||
template<typename V>
|
||||
struct ArgvNextArgument<int, V> {
|
||||
ALWAYS_INLINE int operator()(V arg) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue