From ce3cd42d752b46605809a255391851b3c7dc90bb Mon Sep 17 00:00:00 2001 From: TDSSS <32099540+TDSSS@users.noreply.github.com> Date: Sun, 4 Nov 2018 00:54:33 +0100 Subject: [PATCH] consistent spacing --- code/__HELPERS/text.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index 1a3f1de8092..f8c11dd6a69 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -137,13 +137,13 @@ last_char_group = 3 // ' - . , - if(39,45,46, 44) //Common name punctuation + if(39, 45, 46, 44) //Common name punctuation if(!last_char_group) continue t_out += ascii2text(ascii_char) last_char_group = 2 // ~ | @ : # $ % & * + ! - if(126,124,64,58,35,36,37,38,42,43,33) //Other symbols that we'll allow (mainly for AI) + if(126, 124, 64, 58, 35, 36, 37, 38, 42, 43, 33) //Other symbols that we'll allow (mainly for AI) if(!last_char_group) continue //suppress at start of string if(!allow_numbers) continue t_out += ascii2text(ascii_char) @@ -551,4 +551,4 @@ proc/checkhtml(var/t) text = replacetext(text, "", "\[logo\]") return text -#define string2charlist(string) (splittext(string, regex("(\\x0A|.)")) - splittext(string, "")) \ No newline at end of file +#define string2charlist(string) (splittext(string, regex("(\\x0A|.)")) - splittext(string, ""))