From d30b33ba24e52d7299119013894ae97523558f78 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Fri, 20 Dec 2013 23:45:59 -0500 Subject: [PATCH] Combine some concatenations --- register.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/register.lua b/register.lua index abe9d01..f901774 100644 --- a/register.lua +++ b/register.lua @@ -165,16 +165,16 @@ unified_inventory.register_page("craftguide", { formspec = formspec.."label[6,3.75;"..method.."]" if allow_auto_craft then formspec = formspec.."label[6,1.95;Copy to craft grid:]" - formspec = formspec.."button[6,2.5;0.6,0.5;craftguide_craft_1;1]" - formspec = formspec.."button[6.6,2.5;0.6,0.5;craftguide_craft_10;10]" - formspec = formspec.."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]" + .."button[6,2.5;0.6,0.5;craftguide_craft_1;1]" + .."button[6.6,2.5;0.6,0.5;craftguide_craft_10;10]" + .."button[7.2,2.5;0.6,0.5;craftguide_craft_max;All]" end end if alternates > 1 then formspec = formspec.."label[0,2.6;Recipe " ..tostring(alternate).." of " ..tostring(alternates).."]" - formspec = formspec.."button[0,3.15;2,1;alternate;Alternate]" + .."button[0,3.15;2,1;alternate;Alternate]" end end