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:
martii
2013-05-06 21:08:31 +02:00
committed by Michael Liebmann
parent 3848695e25
commit a094c5ee30

View File

@@ -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);