[vdr] Moving charMap from menuitems.c to Make.config

Rene Hertell linuxtv at hertell.com
Sat Jan 28 13:59:34 CET 2006


Hi Klaus,

Could you add a new option in Make.config for specifying the
charMap-variable in menuitems.c?

This would be handy, because the map that's specified in menuitems.c
lacks support for eg. Scandinavian characters like å, ä and ö and some
other special characters. Also the character é is missing :-)

For now i patched menuitems.c like this:

--- menuitems.c.orig    2006-01-27 04:11:38.000000000 +0200
+++ menuitems.c 2006-01-27 04:15:54.000000000 +0200
@@ -245,7 +245,7 @@
   pos = -1;
   insert = uppercase = false;
   newchar = true;
-  charMap = tr("
0\t-.#~,/_ at 1\tabc2\tdef3\tghi4\tjkl5\tmno6\tpqrs7\ttuv8\twxyz9");
+  charMap = tr("
0\t-.#~?!':;,/_ at 1\tabcåä2\tdefé3\tghi4\tjkl5\tmnoö6\tpqrs7\ttuvü8\twxyz9");
   currentChar = NULL;
   lastKey = kNone;
   Set();



Regards,

René




More information about the vdr mailing list