From 0296cc333c56b98bcd62d1b7852b2a8eaf96c429 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Sun, 19 Mar 2023 12:37:35 +0200 Subject: [PATCH] Formatting - Cleaned up code style --- source/birchwood/protocol/formatting.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/birchwood/protocol/formatting.d b/source/birchwood/protocol/formatting.d index f3704c1..1279c35 100644 --- a/source/birchwood/protocol/formatting.d +++ b/source/birchwood/protocol/formatting.d @@ -117,7 +117,7 @@ public string setForegroundBackground(string fg, string bg) throw new BirchwoodException(ErrorType.INVALID_FORMATTING, "Invalid color code (must be either two ASCII digits or a hexadecimal code of the form RRGGBB)"); } - return control_char.idup ~ fg ~ "," ~ bg; + return control_char.idup~fg~","~bg; } // Generates a string that changes the foreground color (except enum) @@ -131,7 +131,7 @@ string set_foreground(SimpleColor color) pragma(inline) string set_foreground_background(SimpleColor fg, SimpleColor bg) { - return ascii_color_code ~ fg ~ "," ~ bg; + return ascii_color_code~fg~","~ bg; } /**