From bdc6eb3b29574b418da89d8aee354609c58f7354 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Mon, 25 Sep 2017 15:52:49 +0000 Subject: [PATCH] Fix copy/paste error in the love.filesystem.isDirectory deprecation message. --HG-- branch : minor --- src/modules/filesystem/wrap_Filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/filesystem/wrap_Filesystem.cpp b/src/modules/filesystem/wrap_Filesystem.cpp index 791f3c6b2..0e246bbd9 100644 --- a/src/modules/filesystem/wrap_Filesystem.cpp +++ b/src/modules/filesystem/wrap_Filesystem.cpp @@ -786,7 +786,7 @@ int w_exists(lua_State *L) int w_isDirectory(lua_State *L) { - luax_markdeprecated(L, "love.filesystem.exists", API_FUNCTION, DEPRECATED_REPLACED, "love.filesystem.getInfo"); + luax_markdeprecated(L, "love.filesystem.isDirectory", API_FUNCTION, DEPRECATED_REPLACED, "love.filesystem.getInfo"); const char *arg = luaL_checkstring(L, 1); Filesystem::Info info = {}; bool exists = instance()->getInfo(arg, info);