diff options
author | Chris Davis <cd.rattan@gmail.com> | 2014-08-09 13:39:59 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-10-01 14:32:10 +0200 |
commit | 3c6541c44e2bfca2d1dfb7a971064d2c7143106f (patch) | |
tree | 4d6ce14bbedd324bcf98c78f45715ffadc3d3392 /source3/utils/regedit_dialog.c | |
parent | 4badab3a6062a473b9651564ce43bb51c63457c1 (diff) | |
download | samba-3c6541c44e2bfca2d1dfb7a971064d2c7143106f.tar.gz samba-3c6541c44e2bfca2d1dfb7a971064d2c7143106f.tar.xz samba-3c6541c44e2bfca2d1dfb7a971064d2c7143106f.zip |
regedit: grow hexedit buffer as the user types
Signed-off-by: Chris Davis <cd.rattan@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/regedit_dialog.c')
-rw-r--r-- | source3/utils/regedit_dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/regedit_dialog.c b/source3/utils/regedit_dialog.c index 6f0aedad5b..3dc18dd5ec 100644 --- a/source3/utils/regedit_dialog.c +++ b/source3/utils/regedit_dialog.c @@ -1056,7 +1056,7 @@ struct dialog_section_hexedit { struct hexedit *buf; }; -#define HEXEDIT_MIN_SIZE 16 +#define HEXEDIT_MIN_SIZE 1 static WERROR hexedit_create(struct dialog *dia, struct dialog_section *section) { |