mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
LUA: change stringinput valid chars
Origin commit data
------------------
Commit: 920e475526
Author: martii <m4rtii@gmx.de>
Date: 2013-05-06 (Mon, 06 May 2013)
This commit is contained in:
@@ -918,7 +918,7 @@ int CLuaInstance::MenueAddItem(lua_State *L)
|
||||
|
||||
} else if (type == "stringinput") {
|
||||
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);
|
||||
int sms = 0;
|
||||
tableLookupInt(L, "sms", sms);
|
||||
|
Reference in New Issue
Block a user