diff options
| author | jacob1 <jfu614@gmail.com> | 2013-03-16 00:32:39 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-03-16 00:32:39 (GMT) |
| commit | 2267f3438689e195b38b0f05c8321c713ffd0932 (patch) | |
| tree | 23b765fb8ceaa4a726b6f13d99738b2c5243031d /src/cat/LegacyLuaAPI.cpp | |
| parent | cd8ea8ad0eb1e8af28c25a75dd2a15bc94c357c4 (diff) | |
| download | powder-2267f3438689e195b38b0f05c8321c713ffd0932.zip powder-2267f3438689e195b38b0f05c8321c713ffd0932.tar.gz | |
add a button to show the save uploading rules inside the save upload dialog
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
| -rw-r--r-- | src/cat/LegacyLuaAPI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp index 506c910..5df660c 100644 --- a/src/cat/LegacyLuaAPI.cpp +++ b/src/cat/LegacyLuaAPI.cpp @@ -1632,7 +1632,8 @@ int luatpt_message_box(lua_State* l) { std::string title = std::string(luaL_optstring(l, 1, "Title")); std::string message = std::string(luaL_optstring(l, 2, "Message")); - new InformationMessage(title, message); + int large = luaL_optint(l, 1, 0); + new InformationMessage(title, message, large); return 0; } int luatpt_get_numOfParts(lua_State* l) |
