From a094c5ee3022a878886133d5f1508f4d4a84cbab Mon Sep 17 00:00:00 2001 From: martii Date: Mon, 6 May 2013 21:08:31 +0200 Subject: [PATCH] LUA: change stringinput valid chars Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/920e4755267fe9d5584736a253b4f2574d50f1fc Author: martii Date: 2013-05-06 (Mon, 06 May 2013) --- src/gui/luainstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index fd55203d8..7dfb5a53c 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -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);