From 239f4beae06dbc1f3d9001cd425ee9c762e5880b 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 ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/920e4755267fe9d5584736a253b4f2574d50f1fc Author: martii Date: 2013-05-06 (Mon, 06 May 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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);