mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Fix whitespaces
This commit is contained in:
parent
b65b717dcb
commit
c6364dd1e2
1 changed files with 2 additions and 2 deletions
|
@ -2968,12 +2968,12 @@ class EncodingSchemeWindows1250 : EncodingScheme
|
||||||
|
|
||||||
override size_t encodedLength(dchar c)
|
override size_t encodedLength(dchar c)
|
||||||
{
|
{
|
||||||
return std.encoding.encodedLength!(Windows1250Char)(c);
|
return std.encoding.encodedLength!(Windows1250Char)(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
override size_t encode(dchar c, ubyte[] buffer)
|
override size_t encode(dchar c, ubyte[] buffer)
|
||||||
{
|
{
|
||||||
auto r = cast(Windows1250Char[])buffer;
|
auto r = cast(Windows1250Char[])buffer;
|
||||||
return std.encoding.encode(c,r);
|
return std.encoding.encode(c,r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue