From 0c1114edbcb21adcabb3b0d181bacbaf4801eb50 Mon Sep 17 00:00:00 2001 From: Wilma456 Date: Wed, 30 Aug 2017 17:29:06 +0200 Subject: [PATCH] Update to new Style --- .../resources/assets/computercraft/lua/rom/programs/edit.lua | 3 ++- .../computercraft/lua/rom/programs/fun/advanced/paint.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/edit.lua b/src/main/resources/assets/computercraft/lua/rom/programs/edit.lua index bde230cf5..f39cee1d9 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/edit.lua +++ b/src/main/resources/assets/computercraft/lua/rom/programs/edit.lua @@ -292,7 +292,7 @@ local tMenuFuncs = { sStatus="Saved to "..sPath else if fileerr then - sStatus="Error saving to "..sPath.." ("..fileerr..")" + sStatus="Error saving to "..fileerr else sStatus="Error saving to "..sPath end @@ -774,3 +774,4 @@ end term.clear() term.setCursorBlink( false ) term.setCursorPos( 1, 1 ) + diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua b/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua index 089396930..d57954a1d 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua +++ b/src/main/resources/assets/computercraft/lua/rom/programs/fun/advanced/paint.lua @@ -318,7 +318,7 @@ local function accessMenu() fMessage = "Saved to "..sPath else if err then - fMessage = "Error saving to "..sPath.." ("..err..")" + fMessage = "Error saving to "..err else fMessage = "Error saving to "..sPath end @@ -405,3 +405,4 @@ term.setBackgroundColour(colours.black) term.setTextColour(colours.white) term.clear() term.setCursorPos(1,1) +