mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
CLuaInstance: Precise error message for obsolete hide() parameter
- Supplement for commit 75631a97f1
This commit is contained in:
@@ -152,7 +152,7 @@ int CLuaInstCCPicture::CCPictureHide(lua_State *L)
|
||||
bool tmp1 = false;
|
||||
std::string tmp2 = "false";
|
||||
if ((tableLookup(L, "no_restore", tmp1)) || (tableLookup(L, "no_restore", tmp2)))
|
||||
printf("[%s:hide] Warning, obsolete parameter in use, please remove!\n", "cpicture");
|
||||
obsoleteHideParameter(L);
|
||||
|
||||
if (D->parent) {
|
||||
D->cp->setPicture("");
|
||||
|
Reference in New Issue
Block a user