summaryrefslogtreecommitdiff
path: root/editors/fxite/files/patch-src_luacmds.cpp
blob: 511769d5cf4ce9cc2d5910255a484c9318afa0db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/luacmds.cpp.orig	2013-10-03 09:22:51 UTC
+++ src/luacmds.cpp
@@ -530,7 +530,7 @@ static int view_clear_output(lua_State* L)
 }
 
 
-static const struct luaL_reg fxte_commands[] = {
+static const struct luaL_Reg fxte_commands[] = {
   {"file_new",                  file_new},
   {"file_open",                 file_open},
   {"file_reload",               file_reload},
@@ -585,7 +585,7 @@ static const struct luaL_reg fxte_commands[] = {
 
 
 
-const luaL_reg* LuaCommands(FXMainWindow*topwin)
+const luaL_Reg* LuaCommands(FXMainWindow*topwin)
 {
   if (!tw) {
     tw=(TopWindow*)topwin;