aboutsummaryrefslogtreecommitdiff
path: root/font_api/deprecation.lua
diff options
context:
space:
mode:
Diffstat (limited to 'font_api/deprecation.lua')
-rw-r--r--font_api/deprecation.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/font_api/deprecation.lua b/font_api/deprecation.lua
index 1ffed11..93cf365 100644
--- a/font_api/deprecation.lua
+++ b/font_api/deprecation.lua
@@ -18,7 +18,7 @@
-- Deprecation
-function deprecated_global_table(deprecated_global_name, replacement_global_name)
+local function deprecated_global_table(deprecated_global_name, replacement_global_name)
assert(type(deprecated_global_name) == 'string', "deprecated_global_name should be a string.")
assert(type(replacement_global_name) == 'string', "replacement_global_name should be a string.")
assert(deprecated_global_name ~= '', "deprecated_global_name should not be empty.")