mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CLuaInstance: Precise error message for obsolete hide() parameter
- Supplement for commit11c6e81a50
Origin commit data ------------------ Branch: ni/coolstream Commit:f12e49e720
Author: Michael Liebmann <tuxcode.bbg@gmail.com> Date: 2016-01-01 (Fri, 01 Jan 2016) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -200,7 +200,7 @@ int CLuaInstCCWindow::CCWindowHide(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", "cwindow");
|
||||
obsoleteHideParameter(L);
|
||||
|
||||
D->w->hide();
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user