From e3b78324d691248c29613b8780df68b803607cc2 Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 30 Dec 2022 21:01:29 +0100 Subject: [PATCH] Fix spacing in increment/decrement tag text --- Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs | 4 ++-- Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs b/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs index a0ac02c..956c5db 100644 --- a/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/LinedefsMode.cs @@ -1968,7 +1968,7 @@ namespace CodeImp.DoomBuilder.BuilderModes } General.Map.UndoRedo.CreateUndo("Decrement linedef tags by 1", this, UndoGroup.LinedefTagChange, CreateSelectionCRC(selected)); - General.Interface.DisplayStatus(StatusType.Action, "Incremented tag" + (selected.Count > 1 ? "s of" : " of") + selected.Count + (selected.Count > 1 ? " linedefs by 1." : " linedef by 1.")); + General.Interface.DisplayStatus(StatusType.Action, "Incremented tag" + (selected.Count > 1 ? "s of " : " of ") + selected.Count + (selected.Count > 1 ? " linedefs by 1." : " linedef by 1.")); foreach (Linedef l in selected) { @@ -1999,7 +1999,7 @@ namespace CodeImp.DoomBuilder.BuilderModes } General.Map.UndoRedo.CreateUndo("Decrement linedef tags by 1", this, UndoGroup.LinedefTagChange, CreateSelectionCRC(selected)); - General.Interface.DisplayStatus(StatusType.Action, "Decremented tag" + (selected.Count > 1 ? "s of" : " of") + selected.Count + (selected.Count > 1 ? " linedefs by 1." : " linedef by 1.")); + General.Interface.DisplayStatus(StatusType.Action, "Decremented tag" + (selected.Count > 1 ? "s of " : " of ") + selected.Count + (selected.Count > 1 ? " linedefs by 1." : " linedef by 1.")); foreach (Linedef l in selected) { diff --git a/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs b/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs index dea1eb3..ac968ed 100644 --- a/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs +++ b/Source/Plugins/BuilderModes/ClassicModes/SectorsMode.cs @@ -2392,7 +2392,7 @@ namespace CodeImp.DoomBuilder.BuilderModes } General.Map.UndoRedo.CreateUndo("Decrement sector tags by 1", this, UndoGroup.SectorTagChange, CreateSelectionCRC(selected)); - General.Interface.DisplayStatus(StatusType.Action, "Incremented tag" + (selected.Count > 1 ? "s of" : " of") + selected.Count + (selected.Count > 1 ? " sectors by 1." : " sector by 1.")); + General.Interface.DisplayStatus(StatusType.Action, "Incremented tag" + (selected.Count > 1 ? "s of " : " of ") + selected.Count + (selected.Count > 1 ? " sectors by 1." : " sector by 1.")); foreach (Sector s in selected) { @@ -2424,7 +2424,7 @@ namespace CodeImp.DoomBuilder.BuilderModes } General.Map.UndoRedo.CreateUndo("Decrement sector tags by 1", this, UndoGroup.SectorTagChange, CreateSelectionCRC(selected)); - General.Interface.DisplayStatus(StatusType.Action, "Decremented tag" + (selected.Count > 1 ? "s of" : " of") + selected.Count + (selected.Count > 1 ? " sectors by 1." : " sector by 1.")); + General.Interface.DisplayStatus(StatusType.Action, "Decremented tag" + (selected.Count > 1 ? "s of " : " of ") + selected.Count + (selected.Count > 1 ? " sectors by 1." : " sector by 1.")); foreach (Sector s in selected) {