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));
|
line_input_t *n = xzalloc(sizeof(*n));
|
||||||
n->flags = flags;
|
n->flags = flags;
|
||||||
|
#if MAX_HISTORY > 0
|
||||||
n->max_history = MAX_HISTORY;
|
n->max_history = MAX_HISTORY;
|
||||||
|
#endif
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user