Disabled the use of language specific chars (like ÅÄÖüíñ etc) i model names. The reason is that companion can not display them and that they display differently in different languages. Existing models will retain their names, but it is no longer possible to add language specific characters.

This commit is contained in:
kjell.kernen@gmail.com
2013-06-09 20:00:01 +00:00
parent 4b014c163b
commit b58dcc9824
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -762,7 +762,7 @@ void editName(uint8_t x, uint8_t y, char *name, uint8_t size, uint8_t event, uin
if (p1valdiff || IS_ROTARY_RIGHT(event) || IS_ROTARY_LEFT(event) || event==EVT_KEY_FIRST(KEY_DOWN) || event==EVT_KEY_FIRST(KEY_UP)
|| event==EVT_KEY_REPT(KEY_DOWN) || event==EVT_KEY_REPT(KEY_UP)) {
v = checkIncDec(event, abs(v), 0, ZCHAR_MAX, 0);
v = checkIncDec(event, abs(v), 0, LEN_STD_CHARS, 0);
if (c <= 0) v = -v;
}