From 9e0374d597a7ad17175aa01b556aa5ea6337d672 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Sat, 6 May 2023 14:56:58 -0400 Subject: [PATCH] lib/dtutils.lua - fix typos --- lib/dtutils.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dtutils.lua b/lib/dtutils.lua index ee9f4ee..1798163 100644 --- a/lib/dtutils.lua +++ b/lib/dtutils.lua @@ -65,7 +65,7 @@ function dtutils.check_min_api_version(min_api, script_name) dt.print_error("This application is written for lua api version " .. min_api .. " or later.") dt.print_error("The current lua api version is " .. current_api) dt.print("ERROR: " .. script_name .. " failed to load. Lua API version " .. min_api .. " or later required.") - dt.control.sleep(2000) -- aqllow time for the error to display before script_manager writes it's error message + dt.control.sleep(2000) -- allow time for the error to display before script_manager writes it's error message error("Minimum API " .. min_api .. " not met for " .. script_name .. ".", 0) end end @@ -101,8 +101,8 @@ function dtutils.check_max_api_version(max_api, script_name) dt.print_error("This application is written for lua api version " .. max_api .. " or earlier.") dt.print_error("The current lua api version is " .. current_api) dt.print("ERROR: " .. script_name .. " failed to load. Lua API version " .. max_api .. " or earlier required.") - dt.control.sleep(2000) -- aqllow time for the error to display before script_manager writes it's error message - error("Mzximum API " .. max_api .. " not met for " .. script_name .. ".", 0) + dt.control.sleep(2000) -- allow time for the error to display before script_manager writes it's error message + error("Maximum API " .. max_api .. " not met for " .. script_name .. ".", 0) end end