(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.

This commit is contained in:
frosch
2013-03-17 13:04:10 +00:00
parent 3573c8e994
commit 9c23446b2b
11 changed files with 8 additions and 15 deletions

View File

@@ -364,6 +364,7 @@ Textbuf::Textbuf(uint16 max_bytes, uint16 max_chars)
assert(max_bytes != 0);
assert(max_chars != 0);
this->afilter = CS_ALPHANUMERAL;
this->max_bytes = max_bytes;
this->max_chars = max_chars == UINT16_MAX ? max_bytes : max_chars;
this->caret = true;