summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/WinAPI/src/winapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/Modules/WinAPI/src/winapi.cpp')
-rw-r--r--plugins/MirLua/Modules/WinAPI/src/winapi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp
index dbf564d210..c3aa9f4d0e 100644
--- a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp
+++ b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp
@@ -2142,14 +2142,14 @@ static luaL_Reg winApi[] =
{ NULL, NULL }
};
-LUA_WINAPI_LIB luaopen_WinAPI(lua_State *L)
+LUA_WINAPI_LIB luaopen_winapi(lua_State *L)
{
luaL_newlib(L, winApi);
for (size_t i = 0; consts[i].name != NULL; i++)
{
lua_pushstring(L, consts[i].name);
- lua_pushnumber(L, consts[i].value);
+ lua_pushnumber(L, consts[i].value);
lua_settable(L, -3);
}