lineedit: fix trivial build failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2014-01-10 14:38:26 +01:00
parent 7c47b560a8
commit 79df481dc4

View File

@ -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;
} }