diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2023-03-07 22:35:00 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2023-03-07 22:35:00 -0600 |
| commit | 65d7db3487cc318dd764481193feb90bb6a897cd (patch) | |
| tree | d1107b2067204e871f24fba26246824d3534a254 /src/client/lua_api/gui/iguifiledialog.cpp | |
| parent | 0bc9f8922269233ca651d3765a7b073d5c2c7945 (diff) | |
| download | brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.gz brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.bz2 brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.zip | |
Use an older name for luaL_reg
Diffstat (limited to 'src/client/lua_api/gui/iguifiledialog.cpp')
| -rw-r--r-- | src/client/lua_api/gui/iguifiledialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/lua_api/gui/iguifiledialog.cpp b/src/client/lua_api/gui/iguifiledialog.cpp index 8e038c5..2634b14 100644 --- a/src/client/lua_api/gui/iguifiledialog.cpp +++ b/src/client/lua_api/gui/iguifiledialog.cpp @@ -135,12 +135,12 @@ int getname(lua_State *L){ return 1; } -static const luaL_reg iguifileopendialog_f[] = { +static const luaL_Reg iguifileopendialog_f[] = { {"new", newfileopendialog}, {0,0}, }; -static const luaL_reg iguifileopendialog_m[] = { +static const luaL_Reg iguifileopendialog_m[] = { {"getdir", getdir}, {"getname", getname}, {0,0}, |
