aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-09-19 12:11:31 +0200
committerest31 <MTest31@outlook.com>2016-09-19 12:14:06 +0200
commitabb6fba24f346c931bc83cc875f8756c2467c469 (patch)
tree78b6c4e4921fa86ca243d2d3bf2a716ba865f804 /builtin
parent3aefa5d3ceaaa9299f42cc10921dec65fa53c5e0 (diff)
downloadminetest-abb6fba24f346c931bc83cc875f8756c2467c469.tar.gz
minetest-abb6fba24f346c931bc83cc875f8756c2467c469.tar.bz2
minetest-abb6fba24f346c931bc83cc875f8756c2467c469.zip
Fix a typo and use proper deprecation notification system
Fix a typo pointed out by @thecow275. Also, use the deprecated notification system which respects the deprecated_lua_api_handling setting.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/tab_texturepacks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_texturepacks.lua b/builtin/mainmenu/tab_texturepacks.lua
index 4614a2974..4638beaa1 100644
--- a/builtin/mainmenu/tab_texturepacks.lua
+++ b/builtin/mainmenu/tab_texturepacks.lua
@@ -73,7 +73,7 @@ local function get_formspec(tabview, name, tabdata)
if not file_exists(infofile) then
infofile = current_texture_path .. DIR_DELIM .. "info.txt"
if file_exists(infofile) then
- core.log("info.txt is depreciated. description.txt should be used instead.")
+ core.log("deprecated", "info.txt is deprecated. description.txt should be used instead.")
end
end