Skip to content

Commit

Permalink
[ConfigPanel] increase text entry size to 256 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
zinuzoid committed Jul 1, 2024
1 parent 3411602 commit 7bcc15a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Dialogs/TouchTextEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static KeyboardWidget *kb = NULL;

static AllowedCharacters AllowedCharactersCallback;

static constexpr size_t MAX_TEXTENTRY = 40;
static constexpr size_t MAX_TEXTENTRY = 256;
static unsigned int cursor = 0;
static size_t max_width;
static TCHAR edittext[MAX_TEXTENTRY];
Expand Down
2 changes: 1 addition & 1 deletion src/Form/DataField/String.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "Base.hpp"
#include "util/StaticString.hxx"

static constexpr unsigned EDITSTRINGSIZE = 32;
static constexpr unsigned EDITSTRINGSIZE = 256;

class DataFieldString: public DataField
{
Expand Down

0 comments on commit 7bcc15a

Please sign in to comment.