Run spell check over solution.
This commit is contained in:
committed by
Matthias Mailänder
parent
ebf90970b2
commit
96de59f75a
@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
var luaScript = world.WorldActor.TraitOrDefault<LuaScript>();
|
||||
if (luaScript != null)
|
||||
{
|
||||
// Native exceptions have OS-dependend line endings, so strip these away as WrapText doesn't handle them
|
||||
// Native exceptions have OS-dependent line endings, so strip these away as WrapText doesn't handle them
|
||||
var errorMessage = luaScript.Context.ErrorMessage.Replace("\r\n", "\n");
|
||||
|
||||
var text = WidgetUtils.WrapText(errorMessage, label.Bounds.Width, font);
|
||||
|
||||
Reference in New Issue
Block a user