diff --git a/code/__HELPERS/areas.dm b/code/__HELPERS/areas.dm index 6a6581dacb1..3a35646321f 100644 --- a/code/__HELPERS/areas.dm +++ b/code/__HELPERS/areas.dm @@ -58,7 +58,7 @@ var/area/newA var/area/oldA = get_area(get_turf(creator)) if(!isarea(area_choice)) - var/str = trim(stripped_input(creator,"New area name:", "Blueprint Editing", "", MAX_NAME_LEN)) + var/str = stripped_input(creator,"New area name:", "Blueprint Editing", "", MAX_NAME_LEN) if(!str || !length(str)) //cancel return if(length(str) > 50) diff --git a/code/game/machinery/newscaster.dm b/code/game/machinery/newscaster.dm index 541c931593e..f9c5d80fad5 100644 --- a/code/game/machinery/newscaster.dm +++ b/code/game/machinery/newscaster.dm @@ -601,10 +601,10 @@ GLOBAL_LIST_EMPTY(allCasters) screen = 14 updateUsrDialog() else if(href_list["set_wanted_name"]) - channel_name = trim(stripped_input(usr, "Provide the name of the Wanted person", "Network Security Handler")) + channel_name = stripped_input(usr, "Provide the name of the Wanted person", "Network Security Handler") updateUsrDialog() else if(href_list["set_wanted_desc"]) - msg = trim(stripped_input(usr, "Provide a description of the Wanted person and any other details you deem important", "Network Security Handler")) + msg = stripped_input(usr, "Provide a description of the Wanted person and any other details you deem important", "Network Security Handler") updateUsrDialog() else if(href_list["submit_wanted"]) var/input_param = text2num(href_list["submit_wanted"]) diff --git a/code/game/machinery/telecomms/computers/message.dm b/code/game/machinery/telecomms/computers/message.dm index 911260f2f53..8e9b3485022 100644 --- a/code/game/machinery/telecomms/computers/message.dm +++ b/code/game/machinery/telecomms/computers/message.dm @@ -315,7 +315,7 @@ message = noserver else if(auth) - var/dkey = trim(stripped_input(usr, "Please enter the decryption key.")) + var/dkey = stripped_input(usr, "Please enter the decryption key.") if(dkey && dkey != "") if(src.linkedServer.decryptkey == dkey) var/newkey = trim(input(usr,"Please enter the new key (3 - 16 characters max):")) diff --git a/code/game/objects/items/blueprints.dm b/code/game/objects/items/blueprints.dm index 2bccc467401..4ab0dff645b 100644 --- a/code/game/objects/items/blueprints.dm +++ b/code/game/objects/items/blueprints.dm @@ -177,7 +177,7 @@ /obj/item/areaeditor/proc/edit_area() var/area/A = get_area() var/prevname = "[A.name]" - var/str = trim(stripped_input(usr,"New area name:", "Area Creation", "", MAX_NAME_LEN)) + var/str = stripped_input(usr,"New area name:", "Area Creation", "", MAX_NAME_LEN) if(!str || !length(str) || str==prevname) //cancel return if(length(str) > 50)