Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: AIO for VDR 0.99



On Sun, 10 Feb 2002, Andy Grobb wrote:

AG> AIO Patch for VDR 0.99 is Online !!!
AG> ...
AG> Download from:
AG> http://people.freenet.de/elchi/vdr-0.99-AIO-ELCHI-10.02.diff.gz

I don't know which of the patches made the following change to menu.c:

-const char *FileNameChars = " aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ0123456789-.#~^";
+const char *FileNameChars = " aäAÄbBcCdDeEfFgGhHiIjJkKlLmMnNoöOÖpPqQrRsStTuüUÜvVwWxXyYzZ0123456789-.#~^ ";

and why at the last position a space was added, but it breaks the
functionality of the Down key while editing a string in a menu (like Timer
Name): if you are reaching the smallest char (the first " "), pressing
Down wouldn't change anything (instead of cycling to "^").

Either the last space should be removed (the one after ^), or (if it has a
reason to be there) inside of cMenuEditStrItem::Inc (menu.c) the line
   p = allowed + strlen(allowed) - 1;
must be changed to
   p = allowed + strlen(allowed) - 2;


c ya
        Sergei

--------------------------------------------------------------------
         eMail:       Sergei.Haller@math.uni-giessen.de
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain




Home | Main Index | Thread Index