diff options
Diffstat (limited to 'plugins/MirLua/Modules/WinAPI/src')
| -rw-r--r-- | plugins/MirLua/Modules/WinAPI/src/stdafx.h | 2 | ||||
| -rw-r--r-- | plugins/MirLua/Modules/WinAPI/src/winapi.cpp | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirLua/Modules/WinAPI/src/stdafx.h b/plugins/MirLua/Modules/WinAPI/src/stdafx.h index 9b4664bd1f..f2207236e2 100644 --- a/plugins/MirLua/Modules/WinAPI/src/stdafx.h +++ b/plugins/MirLua/Modules/WinAPI/src/stdafx.h @@ -43,6 +43,7 @@  * NOTES
  *
  ***/
 +
  #define LUA_WINAPI_LIB extern "C" int __declspec(dllexport)
  #include <lua.hpp>
 @@ -62,7 +63,6 @@  #include <sys/stat.h>
  #include <sys/utime.h>
 -
  #include <m_core.h>
  #include <m_utils.h>
 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);
  	}
  | 
