mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
LUA: change stringinput valid chars
Origin commit data
------------------
Branch: ni/coolstream
Commit: 920e475526
Author: martii <m4rtii@gmx.de>
Date: 2013-05-06 (Mon, 06 May 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -918,7 +918,7 @@ int CLuaInstance::MenueAddItem(lua_State *L)
|
|||||||
|
|
||||||
} else if (type == "stringinput") {
|
} else if (type == "stringinput") {
|
||||||
strncpy((*it).s, value.c_str(), sizeof((*it).s));
|
strncpy((*it).s, value.c_str(), sizeof((*it).s));
|
||||||
std::string valid_chars = " 0123456789. ";
|
std::string valid_chars = "abcdefghijklmnopqrstuvwxyz0123456789!\"§$%&/()=?-. ";
|
||||||
tableLookupString(L, "valid_chars", valid_chars);
|
tableLookupString(L, "valid_chars", valid_chars);
|
||||||
int sms = 0;
|
int sms = 0;
|
||||||
tableLookupInt(L, "sms", sms);
|
tableLookupInt(L, "sms", sms);
|
||||||
|
Reference in New Issue
Block a user