From 75364269298635ba2394223aff9bf1f0bb30e805 Mon Sep 17 00:00:00 2001 From: eamondo2 Date: Mon, 23 Jan 2023 13:36:12 -0500 Subject: [PATCH] trailing whitespace trim --- plugins/automelt.cpp | 2 +- plugins/lua/automelt.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/automelt.cpp b/plugins/automelt.cpp index e9bd30f76..231a060fa 100644 --- a/plugins/automelt.cpp +++ b/plugins/automelt.cpp @@ -803,7 +803,7 @@ static int automelt_getItemCountsAndStockpileConfigs(lua_State *L) { int id = pile->id; DEBUG(cycle,*out).print("id=%d\ncount_res=%d\n", id, watched_stockpiles.count(id)); - + if (watched_stockpiles.count(id)) { DEBUG(cycle,*out).print("indexed_id=%d\n", get_config_val(watched_stockpiles[id], STOCKPILE_CONFIG_ID)); push_stockpile_config(L, watched_stockpiles[id]); diff --git a/plugins/lua/automelt.lua b/plugins/lua/automelt.lua index d70cf2e8e..4f1d82ad9 100644 --- a/plugins/lua/automelt.lua +++ b/plugins/lua/automelt.lua @@ -72,7 +72,7 @@ function getItemCountsAndStockpileConfigs() end c.monitored = c.monitored ~= 0 end - + end return ret end