فهرست منبع

Fix copy/paste error in the love.filesystem.isDirectory deprecation message.

--HG--
branch : minor
Alex Szpakowski 8 سال پیش
والد
کامیت
bdc6eb3b29
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/modules/filesystem/wrap_Filesystem.cpp

+ 1 - 1
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);