mirror of
https://github.com/4sval/FModel.git
synced 2026-08-27 11:54:26 -05:00
line split fix for FN Alpha assets.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user