diff options
Diffstat (limited to 'engines/sword25/package/packagemanager_script.cpp')
-rw-r--r-- | engines/sword25/package/packagemanager_script.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/sword25/package/packagemanager_script.cpp b/engines/sword25/package/packagemanager_script.cpp index 803c346fdb..a7c845d32f 100644 --- a/engines/sword25/package/packagemanager_script.cpp +++ b/engines/sword25/package/packagemanager_script.cpp @@ -217,18 +217,18 @@ static int FileExists(lua_State *L) { static const char *PACKAGE_LIBRARY_NAME = "Package"; static const luaL_reg PACKAGE_FUNCTIONS[] = { - "LoadPackage", LoadPackage, - "LoadDirectoryAsPackage", LoadDirectoryAsPackage, - "GetCurrentDirectory", GetCurrentDirectory, - "ChangeDirectory", ChangeDirectory, - "GetAbsolutePath", GetAbsolutePath, - "GetFileSize", GetFileSize, - "GetFileType", GetFileType, - "FindFiles", FindFiles, - "FindDirectories", FindDirectories, - "GetFileAsString", GetFileAsString, - "FileExists", FileExists, - 0, 0 + {"LoadPackage", LoadPackage}, + {"LoadDirectoryAsPackage", LoadDirectoryAsPackage}, + {"GetCurrentDirectory", GetCurrentDirectory}, + {"ChangeDirectory", ChangeDirectory}, + {"GetAbsolutePath", GetAbsolutePath}, + {"GetFileSize", GetFileSize}, + {"GetFileType", GetFileType}, + {"FindFiles", FindFiles}, + {"FindDirectories", FindDirectories}, + {"GetFileAsString", GetFileAsString}, + {"FileExists", FileExists}, + {0, 0} }; // ----------------------------------------------------------------------------- |