mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
lineedit: fix trivial build failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
7c47b560a8
commit
79df481dc4
@ -1255,7 +1255,9 @@ line_input_t* FAST_FUNC new_line_input_t(int flags)
|
||||
{
|
||||
line_input_t *n = xzalloc(sizeof(*n));
|
||||
n->flags = flags;
|
||||
#if MAX_HISTORY > 0
|
||||
n->max_history = MAX_HISTORY;
|
||||
#endif
|
||||
return n;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user