[vdr] Re: little bug in cMenuEditStrItem?

Suur Karu suurkaru at fastmail.fm
Sun Feb 12 13:37:13 CET 2006


Suur Karu wrote:
> I will try to found, where problem is.

I think it's liemikuutio patchset:

diff -Nru vdr-1.3.42-vanilla/menuitems.h vdr-1.3.42-liemikuutio/menuitems.h
--- vdr-1.3.42-vanilla/menuitems.h	2006-02-05 17:38:49.000000000 +0200
+++ vdr-1.3.42-liemikuutio/menuitems.h	2006-02-05 17:39:27.000000000 +0200
@@ -77,20 +77,20 @@

  class cMenuEditStrItem : public cMenuEditItem {
  private:
-  char *value;
-  int length;
-  char *allowed;
-  int pos;
    bool insert, newchar, uppercase;
    const char *charMap;
    const char *currentChar;
    eKeys lastKey;
    cTimeMs autoAdvanceTimeout;
-  void SetHelpKeys(void);
    void AdvancePos(void);
-  virtual void Set(void);
    char Inc(char c, bool Up);
  protected:
+  char *value;
+  int length;
+  char *allowed;
+  int pos;
+  virtual void SetHelpKeys(void);
+  virtual void Set(void);
    bool InEditMode(void) { return pos >= 0; }
  public:
    cMenuEditStrItem(const char *Name, char *Value, int Length, const 
char *Allowed);



More information about the vdr mailing list