mirror of
https://github.com/4sval/FModel.git
synced 2026-04-21 00:57:46 -05:00
line split fix for FN Alpha assets.
This commit is contained in:
parent
d66b832b89
commit
c72b4ecf1a
|
|
@ -251,7 +251,7 @@ namespace FModel.Creator
|
|||
if (string.IsNullOrEmpty(text)) return null;
|
||||
|
||||
var spaceWidth = paint.MeasureText(" ");
|
||||
var lines = text.Split('\n', StringSplitOptions.RemoveEmptyEntries);
|
||||
var lines = text.Replace("\\n", "\n").Split('\n', StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
var ret = new List<string>(lines.Length);
|
||||
foreach (var line in lines)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user