Skip to content

Commit c9618af

Browse files
authored
Fix unexpected characters crashing WAE when referencing taskforces
1 parent 36619cb commit c9618af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TSMapEditor/UI/Windows/TaskforcesWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ private void ShowTaskForceReferences()
348348

349349
EditorMessageBox.Show(WindowManager,
350350
Translate(this, "ReferencesFound.Title", "TaskForce References"),
351-
string.Format(Translate(this, "ReferencesFound.Description", "{The selected TaskForce \"{0}\" ({1}) is used by the following TeamTypes:}" + Environment.NewLine + Environment.NewLine + "{2}"),
351+
string.Format(Translate(this, "ReferencesFound.Description", "The selected TaskForce \"{0}\" ({1}) is used by the following TeamTypes:" + Environment.NewLine + Environment.NewLine + "{2}"),
352352
editedTaskForce.Name, editedTaskForce.ININame, stringBuilder.ToString()),
353353
MessageBoxButtons.OK);
354354
}

0 commit comments

Comments
 (0)