mirror of
https://github.com/yamadapc/d-colorize
synced 2024-11-14 21:14:00 +01:00
Remove trailing spaces and newlines.
This simply removes trailing spaces and '\n' characters left by p0nce's contribution of adding windows support.
This commit is contained in:
parent
f630d6fdfa
commit
d0becf6a63
|
@ -71,4 +71,3 @@ void cwrite(S...)(File f, S args)
|
|||
f.write(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ version(Windows)
|
|||
return CharAction.flush;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case escaped:
|
||||
if (d == '[')
|
||||
{
|
||||
|
@ -64,8 +64,8 @@ version(Windows)
|
|||
return CharAction.drop;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
|
||||
|
||||
case readingAttribute:
|
||||
if (d >= '0' && d <= '9')
|
||||
{
|
||||
|
@ -157,6 +157,3 @@ version(Windows)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue