Re: little bug in cMenuEditStrItem?
Commit Message
Suur Karu wrote:
> I will try to found, where problem is.
I think it's liemikuutio patchset:
char *Allowed);
@@ -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