mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
use toString shorthand
This commit is contained in:
parent
330ef02054
commit
f8f4dfbff4
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ namespace MLEM.Extensions {
|
|||
foreach (var word in line.Split(' ')) {
|
||||
if (widthFunc(word) * scale >= width) {
|
||||
if (curr.Length > 0) {
|
||||
total.Append(curr.ToString(0, curr.Length)).Append('\n');
|
||||
total.Append(curr).Append('\n');
|
||||
curr.Clear();
|
||||
}
|
||||
var wordBuilder = new StringBuilder();
|
||||
|
|
Loading…
Reference in a new issue